pkgsrc-WIP-review archive

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

RE: wip/kegs



> > 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.

Trying to be overly clever, I guess...

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

That was the magic I was looking for!  But after I changed it to CFLAGS, it 
worked anyway.  I thought I'd misunderstood how variables get passed to/picked 
from the environment, or something, but I guess I was just setting the wrong 
var.

This now works on NB/i386, and still works on Sol9/sparc too.  Committed!


Thanks,
Tim

------------------------------------------------------------------------------
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
_______________________________________________
pkgsrc-wip-review mailing list
pkgsrc-wip-review%lists.sourceforge.net@localhost
https://lists.sourceforge.net/lists/listinfo/pkgsrc-wip-review


Home | Main Index | Thread Index | Old Index