diff options
author | adam <adam@pkgsrc.org> | 2011-09-22 12:53:29 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2011-09-22 12:53:29 +0000 |
commit | abbbe379129277abc2b762e6b627a3f0775423a9 (patch) | |
tree | 40dfc1cf82ec48d762dda3e20db219e2164e7e29 | |
parent | 40cf42f63d5bb89e4aad49e32467ed7e7045d4ad (diff) | |
download | pkgsrc-abbbe379129277abc2b762e6b627a3f0775423a9.tar.gz |
On Mac OS X, look for libtool also in /Developer/usr/bin
-rw-r--r-- | meta-pkgs/boost/Makefile.common | 8 |
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 |