From 100fe57e845b368498a11a919e285ab15682e24e Mon Sep 17 00:00:00 2001 From: martin Date: Tue, 12 Mar 2013 19:28:08 +0000 Subject: Allow building on architectures that are not supported by the context library. --- devel/boost-libs/Makefile | 10 +++++++++- devel/boost-libs/PLIST | 8 ++++---- 2 files changed, 13 insertions(+), 5 deletions(-) (limited to 'devel') 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} -- cgit v1.2.3