pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/43888 (sysutil/eggdbus-0.6 fails to build with gcc and non gnu-ld)



The following reply was made to PR pkg/43888; it has been noted by GNATS.

From: Daniel Vergien <daniel.vergien%googlemail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/43888 (sysutil/eggdbus-0.6 fails to build with gcc and non
 gnu-ld)
Date: Wed, 27 Oct 2010 19:30:33 +0200

 >   Is there a reason that items like this (gnu specific '--as-needed'
 >   passed to solaris ld) is not handled in pkgsrc wrappers?  I also
 >   recently ran across a couple of packages that were passing
 >   --as-needed, and fixed it with:
 >     .if ${OPSYS} == "SunOS"
 >     BUILDLINK_TRANSFORM+=   rm:-Wl,--as-needed
 >     .endif
 
 This seems to also work, but it will also remove the flag if someone 
 is using a gnu toolchain. But one of the tow solutions should be 
 committed.
 
 Daniel
 


Home | Main Index | Thread Index | Old Index