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: Tim Zingelman <zingelman%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: solaris-pkg-people%netbsd.org@localhost
Subject: Re: pkg/43888 (sysutil/eggdbus-0.6 fails to build with gcc and non 
gnu-ld)
Date: Tue, 21 Sep 2010 07:57:23 -0500

 On Mon, Sep 20, 2010 at 3:11 PM,  <hauke%netbsd.org@localhost> wrote:
 > Synopsis: sysutil/eggdbus-0.6 fails to build with gcc and non gnu-ld
 >
 > Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
 > Responsible-Changed-By: hauke%NetBSD.org@localhost
 > Responsible-Changed-When: Mon, 20 Sep 2010 20:11:40 +0000
 > Responsible-Changed-Why:
 > A Solaris issue.
 
 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
 
 and in fact this package already has a section like above, but for
 ${OPSYS} == "Darwin"
 
 I can't find it right now but I know I've run into other similar
 things where it seems like a wrapper would be the nice global fix,
 rather than patching every package as it is found... maybe it was
 --version-script xxx vs. -W xxx ?
 
  - Tim
 


Home | Main Index | Thread Index | Old Index