summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2011-09-22 12:53:29 +0000
committeradam <adam@pkgsrc.org>2011-09-22 12:53:29 +0000
commit26d5271114f81caf042f04bcedeb4cc091c2dd60 (patch)
tree40dfc1cf82ec48d762dda3e20db219e2164e7e29 /meta-pkgs
parent65487b41c2fc739a76b5efc07ae53755c172cae0 (diff)
downloadpkgsrc-26d5271114f81caf042f04bcedeb4cc091c2dd60.tar.gz
On Mac OS X, look for libtool also in /Developer/usr/bin
Diffstat (limited to 'meta-pkgs')
-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