summaryrefslogtreecommitdiff
path: root/meta-pkgs/boost
diff options
context:
space:
mode:
authoradam <adam>2011-09-22 12:53:29 +0000
committeradam <adam>2011-09-22 12:53:29 +0000
commit0820bccb1982974412971f161ead2c355c6dee82 (patch)
tree40dfc1cf82ec48d762dda3e20db219e2164e7e29 /meta-pkgs/boost
parent6145d5e3d0d2ed9a9577f7f3a1c6ce0b7fe3c2fd (diff)
downloadpkgsrc-0820bccb1982974412971f161ead2c355c6dee82.tar.gz
On Mac OS X, look for libtool also in /Developer/usr/bin
Diffstat (limited to 'meta-pkgs/boost')
-rw-r--r--meta-pkgs/boost/Makefile.common8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta-pkgs/boost/Makefile.common b/meta-pkgs/boost/Makefile.common
index 28a3096902e..c4f06711fec 100644
--- a/meta-pkgs/boost/Makefile.common
+++ b/meta-pkgs/boost/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.28 2011/03/18 07:49:44 adam Exp $
+# $NetBSD: Makefile.common,v 1.29 2011/09/22 12:53:29 adam Exp $
#
# used by devel/boost-build/Makefile
# used by devel/boost-docs/Makefile
@@ -59,9 +59,13 @@ SUBST_SED.darwin= -e 's,-install_name ",-install_name "${PREFIX}/lib/,g'
.if ${OPSYS} == "Darwin"
# Prevent using a pkgsrc libtool in OS X because the darwin toolset needs
-# the native libtool from /usr/bin.
+# the native libtool from /Developer/usr/bin or /usr/bin.
post-wrapper:
+. if exists(/Developer/usr/bin/libtool)
+ ln -s /Developer/usr/bin/libtool ${WRAPPER_BINDIR}/libtool
+. else
ln -s /usr/bin/libtool ${WRAPPER_BINDIR}/libtool
+. endif
.endif
# We can't do this at post-extract because the extract cookie will get a