pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/meta-pkgs/boost Enforce using the native libtool on Da...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/701ba19679ee
branches:  trunk
changeset: 649953:701ba19679ee
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Apr 14 09:06:32 2015 +0000

description:
Enforce using the native libtool on Darwin for the cwrappers case too.

diffstat:

 meta-pkgs/boost/Makefile.common |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (25 lines):

diff -r dcc6a174ab5e -r 701ba19679ee meta-pkgs/boost/Makefile.common
--- a/meta-pkgs/boost/Makefile.common   Tue Apr 14 09:06:12 2015 +0000
+++ b/meta-pkgs/boost/Makefile.common   Tue Apr 14 09:06:32 2015 +0000
@@ -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 @@
 # 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
 



Home | Main Index | Thread Index | Old Index