Allow building on architectures that are not supported by the context
library.
This commit is contained in:
parent
7f94ea65f5
commit
e1de962cb7
2 changed files with 13 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue