diff options
author | jperkin <jperkin@pkgsrc.org> | 2015-04-14 09:06:32 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2015-04-14 09:06:32 +0000 |
commit | 360ed0baaddd01487fc90bb98a68055083bda46b (patch) | |
tree | b40fe7d1ef0d894b1bebd7b6c1b13548a0d27506 /meta-pkgs | |
parent | cf2221f44e0540d341417d85df03f998428ca0f9 (diff) | |
download | pkgsrc-360ed0baaddd01487fc90bb98a68055083bda46b.tar.gz |
Enforce using the native libtool on Darwin for the cwrappers case too.
Diffstat (limited to 'meta-pkgs')
-rw-r--r-- | meta-pkgs/boost/Makefile.common | 9 |
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 |