pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: wrappers vs. -I, was: Re: error building pkgsrc/graphics/netpbm on OS X
On Fri, 3 Jun 2011, Hubert Feyrer wrote:
How do I get those other directories added?
I've learned that the wrappers try to be smart and add everything that's
in -I but not behind a symlink. Now my /usr/pkgsrc is a symlink, i.e. I
lose form the start.
"cd /Users/feyrer/work/NetBSD/cvs/pkgsrc/graphics/netpbm ; make" works,
while "cd /usr/pkgsrc/graphics/netpbm ; make" blows up.
Brian Ginsbach gave me the hint that adding a -P to TOOLS_PLATFORM.pwd in
pkgsrc/mk/tools/tools.Darwin.mk helps, and indeed it does.
Does anyone feel like committing this (or fixing this funny behaviour in
some other way)? Diff is appended below.
- Hubert
Index: tools.Darwin.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/tools/tools.Darwin.mk,v
retrieving revision 1.43
diff -u -r1.43 tools.Darwin.mk
--- tools.Darwin.mk 9 Nov 2010 07:57:16 -0000 1.43
+++ tools.Darwin.mk 3 Jun 2011 21:16:56 -0000
@@ -80,7 +80,7 @@
TOOLS_PLATFORM.openssl?= /usr/bin/openssl
TOOLS_PLATFORM.patch?= /usr/bin/patch
TOOLS_PLATFORM.printf?= /usr/bin/printf
-TOOLS_PLATFORM.pwd?= /bin/pwd
+TOOLS_PLATFORM.pwd?= /bin/pwd -P
TOOLS_PLATFORM.rm?= /bin/rm
TOOLS_PLATFORM.rmdir?= /bin/rmdir
TOOLS_PLATFORM.sed?= /usr/bin/sed
Home |
Main Index |
Thread Index |
Old Index