Re: wip/kegs

'Thomas Klausner' <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.review
Message-ID <[email protected]>
On Mon, Nov 09, 2009 at 02:38:50PM -0600, Larson, Timothy E. wrote:
> I've never used PKG_DEVELOPER before...it looks like something I ought to be, though.  Thanks.

Definitely!

> As this is a linker flag it seems to me that this is something I can add to LDFLAGS.  But if I do LDFLAGS+=${COMPILER_RPATH_FLAG}${X11BASE}/lib in the package Makefile, it doesn't make it to the source Makefile, which has $(LDFLAGS) explicitly in the compile statements.  This is one of those areas where I'm a little fuzzy on how the pkgsrc wrapper interacts with the source itself.  I read Chapter 12 in the Pkgsrc Guide hoping it would have an example, but no luck.

I gave you the example for what should be added to CFLAGS; for LDFLAGS
there's LINKER_RPATH_FLAG.

Just patch the internal Makefile to use LDFLAGS+= instead of =, that
should be sufficient...
 Thomas

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.