curmudgeon Veteran
Joined: 08 Aug 2003 Posts: 1741
|
Posted: Mon Jan 30, 2012 11:41 am Post subject: trying to understand net-misc/curl-7.24.0 |
|
|
I was looking at this (now stable) ebuild due to the new (and annoying) requirement for sys-apps/ed.
I found these lines near the bottom of the ebuild:
Code: |
src_compile() {
default
ed - lib/curl_config.h < "${FILESDIR}"/config.h.ed || die
ed - src/curl_config.h < "${FILESDIR}"/config.h.ed || die
ed - include/curl/curlbuild.h < "${FILESDIR}"/curlbuild.h.ed || die
}
|
It is not clear to me what they accomplish, at least on x86 and amd64 - maybe there is something vital on some other platform (I understand the changes to the files, but not their purpose).
Anyway, my real question is that these changes to the header files occur after compilation, which doesn't make much sense to me. Okay, curlbuild.h gets installed, but the other two do not, therefore the reason for editing them seems even more mysterious.
Can someone enlighten me? |
|