$(build-programs) and $(install-others)

Mike Frysinger vapier@gentoo.org
Mon Jul 23 20:11:00 GMT 2007


if build-programs is set to no, glibc fails to install since a few binaries 
defined in $(others) have custom install rules via $(install-others).  those 
files are:
posix/Makefile: getconf
iconv/Makefile: iconv
login/Makefile: pt_chown

this is because $(others) is only respected in Makerules when 
$(build-programs) is set to "yes", but $(install-others) is always respected.  
unfortunately, we cant change Makerules to ignore $(install-others) like 
$(others) because this variable has overloaded meaning -- it installs both 
binaries and headers and other such things.

so the attached patch only sets $(install-others) for the aforementioned 
binaries in the aforementioned Makefiles when $(build-programs) is set 
to "yes".
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: This is a digitally signed message part.
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20070723/99a91ac2/attachment.sig>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1035_all_glibc-respect-build-programs.patch
Type: text/x-diff
Size: 1095 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20070723/99a91ac2/attachment.bin>


More information about the Libc-alpha mailing list