summaryrefslogtreecommitdiff
path: root/meta-pkgs/boost/Makefile.common
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-04-14 09:06:32 +0000
committerjperkin <jperkin>2015-04-14 09:06:32 +0000
commitf5aeee1f0998d4c4f406a5f1aaf882ae4577501a (patch)
treeb40fe7d1ef0d894b1bebd7b6c1b13548a0d27506 /meta-pkgs/boost/Makefile.common
parent360a353d93911b3a2c14129db3a6e263915f9ca1 (diff)
downloadpkgsrc-f5aeee1f0998d4c4f406a5f1aaf882ae4577501a.tar.gz
Enforce using the native libtool on Darwin for the cwrappers case too.
Diffstat (limited to 'meta-pkgs/boost/Makefile.common')
-rw-r--r--meta-pkgs/boost/Makefile.common9
1 files changed, 6 insertions, 3 deletions
diff --git a/meta-pkgs/boost/Makefile.common b/meta-pkgs/boost/Makefile.common
index 44e374a15da..fda7a0ad29b 100644
--- a/meta-pkgs/boost/Makefile.common
+++ b/meta-pkgs/boost/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.49 2014/12/15 11:46:35 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.50 2015/04/14 09:06:32 jperkin Exp $
#
# used by devel/boost-build/Makefile
# used by devel/boost-docs/Makefile
@@ -73,10 +73,13 @@ BUILDLINK_TRANSFORM+= opt:-D_XOPEN_SOURCE=500:-D_XOPEN_SOURCE=600
# Prevent using a pkgsrc libtool in OS X because the darwin toolset needs
# the native libtool from /Developer/usr/bin or /usr/bin.
post-wrapper:
+ ${RM} -f ${WRAPPER_BINDIR}/libtool ${CWRAPPERS_BIN_DIR}/libtool
. if exists(/Developer/usr/bin/libtool)
- ln -s /Developer/usr/bin/libtool ${WRAPPER_BINDIR}/libtool
+ ${LN} -s /Developer/usr/bin/libtool ${WRAPPER_BINDIR}/libtool
+ ${LN} -s /Developer/usr/bin/libtool ${CWRAPPERS_BIN_DIR}/libtool
. else
- ln -s /usr/bin/libtool ${WRAPPER_BINDIR}/libtool
+ ${LN} -s /usr/bin/libtool ${WRAPPER_BINDIR}/libtool
+ ${LN} -s /usr/bin/libtool ${CWRAPPERS_BIN_DIR}/libtool
. endif
. endif