diff options
author | martin <martin@pkgsrc.org> | 2013-03-12 19:28:08 +0000 |
---|---|---|
committer | martin <martin@pkgsrc.org> | 2013-03-12 19:28:08 +0000 |
commit | e1de962cb729cdaff0f8a891fc00c4fcc9882f36 (patch) | |
tree | 6cf3185c906678302764f062abd0f5ba2770f8d3 /devel | |
parent | 7f94ea65f588938b2f1c3f30e99e3d875e36f5da (diff) | |
download | pkgsrc-e1de962cb729cdaff0f8a891fc00c4fcc9882f36.tar.gz |
Allow building on architectures that are not supported by the context
library.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/boost-libs/Makefile | 10 | ||||
-rw-r--r-- | devel/boost-libs/PLIST | 8 |
2 files changed, 13 insertions, 5 deletions
diff --git a/devel/boost-libs/Makefile b/devel/boost-libs/Makefile index 7fd31f606d1..bab09989878 100644 --- a/devel/boost-libs/Makefile +++ b/devel/boost-libs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2012/10/31 11:16:42 asau Exp $ +# $NetBSD: Makefile,v 1.25 2013/03/12 19:28:08 martin Exp $ BOOST_PACKAGE= libs BOOST_COMMENT= (binary libraries) @@ -10,8 +10,16 @@ BOOST_INSTALL_LIBS= yes INSTALLATION_DIRS+= lib BJAM_ARGS+= --without-python +PLIST_VARS+= context + .if !empty(OPSYS:MNetBSD) && !empty(MACHINE_ARCH:Msparc64) BJAM_ARGS+= pch=off +.elif !empty(MACHINE_ARCH:Malpha) || !empty(MACHINE_ARCH:Mm68k) +BJAM_ARGS+= --without-context +.endif + +.if empty(BJAM_ARGS:M--without-context) +PLIST.context= yes .endif UNLIMIT_RESOURCES+= stacksize diff --git a/devel/boost-libs/PLIST b/devel/boost-libs/PLIST index 4322552b44b..19c1787cd75 100644 --- a/devel/boost-libs/PLIST +++ b/devel/boost-libs/PLIST @@ -1,13 +1,13 @@ -@comment $NetBSD: PLIST,v 1.20 2013/02/17 11:21:11 jperkin Exp $ +@comment $NetBSD: PLIST,v 1.21 2013/03/12 19:28:08 martin Exp $ lib/libboost_atomic.a lib/libboost_atomic.so lib/libboost_atomic.so.${BOOST_VERSION} lib/libboost_chrono.a lib/libboost_chrono.so lib/libboost_chrono.so.${BOOST_VERSION} -lib/libboost_context.a -lib/libboost_context.so -lib/libboost_context.so.${BOOST_VERSION} +${PLIST.context}lib/libboost_context.a +${PLIST.context}lib/libboost_context.so +${PLIST.context}lib/libboost_context.so.${BOOST_VERSION} lib/libboost_date_time.a lib/libboost_date_time.so lib/libboost_date_time.so.${BOOST_VERSION} |