summaryrefslogtreecommitdiff
path: root/devel/boost-build
diff options
context:
space:
mode:
authorjmmv <jmmv>2006-01-21 10:12:40 +0000
committerjmmv <jmmv>2006-01-21 10:12:40 +0000
commit6825daf94174f5e56d42d5dc81995b0faf4bd71a (patch)
treeacc5465894131edbce42fb437b44fadb42fa19c5 /devel/boost-build
parentc0171c4e56bfeed6fdabf40b10014c5d22be0849 (diff)
downloadpkgsrc-6825daf94174f5e56d42d5dc81995b0faf4bd71a.tar.gz
Fix installed name of Boost libraries under Mac OS X. They need to have
the directory they'll live in as part of their name, or otherwise they cannot be found at runtime.
Diffstat (limited to 'devel/boost-build')
-rw-r--r--devel/boost-build/bjam.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/boost-build/bjam.mk b/devel/boost-build/bjam.mk
index 7388704b848..3c6bd6c3334 100644
--- a/devel/boost-build/bjam.mk
+++ b/devel/boost-build/bjam.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bjam.mk,v 1.3 2006/01/21 09:02:16 jmmv Exp $
+# $NetBSD: bjam.mk,v 1.4 2006/01/21 10:12:40 jmmv Exp $
#
.include "../../devel/boost-build/buildlink3.mk"
@@ -12,6 +12,9 @@ BJAM_ARGS+= --layout=system
BJAM_ARGS+= --prefix=${PREFIX}
BJAM_ARGS+= -sBUILD=${BJAM_BUILD:Q}
BJAM_ARGS+= -sTOOLS=${BOOST_TOOLSET}
+.if ${OPSYS} == "Darwin"
+BJAM_ARGS+= -sTARGET_LIBDIR=${PREFIX}/lib
+.endif
.if defined(BOOST_DEBUG) && !empty(BOOST_DEBUG:M[Yy][Ee][Ss])
BJAM_BUILD+= debug
.endif