Re-add python3 support properly.
maintainer timeout ok nigel@
This commit is contained in:
parent
98c9b76cfe
commit
aa6c4f1dcc
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.51 2013/12/20 16:42:34 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.52 2013/12/25 08:49:47 ajacoutot Exp $
|
||||
|
||||
ONLY_FOR_ARCHS= ${GCC4_ARCHS}
|
||||
|
||||
@ -7,7 +7,7 @@ COMMENT= free peer-reviewed portable C++ source libraries
|
||||
VERSION= 1.53.0
|
||||
DISTNAME= boost_${VERSION:S/./_/g}
|
||||
PKGNAME= boost-${VERSION}
|
||||
REVISION= 4
|
||||
REVISION= 5
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=boost/}
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
@ -29,6 +29,7 @@ BOOST_LIBS= boost_atomic-mt \
|
||||
boost_prg_exec_monitor boost_prg_exec_monitor-mt \
|
||||
boost_program_options boost_program_options-mt \
|
||||
boost_python boost_python-mt \
|
||||
boost_python3 boost_python3-mt \
|
||||
boost_random boost_random-mt \
|
||||
boost_regex boost_regex-mt \
|
||||
boost_serialization boost_serialization-mt \
|
||||
@ -57,6 +58,8 @@ MODULES= converters/libiconv \
|
||||
lang/python
|
||||
MODPY_RUNDEP= No
|
||||
|
||||
BUILD_DEPENDS+= lang/python/${MODPY_DEFAULT_VERSION_3}
|
||||
|
||||
MAKE_ENV= GCC="${CC}" GXX="${CXX}"
|
||||
|
||||
BJAM_CONFIG= -sICONV_PATH=${LOCALBASE} \
|
||||
@ -64,6 +67,7 @@ BJAM_CONFIG= -sICONV_PATH=${LOCALBASE} \
|
||||
-d+2 -q \
|
||||
-j ${MAKE_JOBS} \
|
||||
cflags='${CFLAGS}' cxxflags='${CXXFLAGS}' \
|
||||
python=${MODPY_VERSION} \
|
||||
variant=release link=static,shared threading=single,multi \
|
||||
--layout=tagged
|
||||
|
||||
@ -87,6 +91,7 @@ NO_TEST= Yes
|
||||
SUBST_VARS+= SO_VERSION
|
||||
|
||||
do-configure:
|
||||
echo "using python : ${MODPY_DEFAULT_VERSION_3} : ${LOCALBASE}/bin/python${MODPY_DEFAULT_VERSION_3} : ${LOCALBASE}/include/python${MODPY_DEFAULT_VERSION_3}$$(python${MODPY_DEFAULT_VERSION_3}-config --abiflags) ;" >> ${WRKSRC}/tools/build/v2/user-config.jam
|
||||
@${SUBST_CMD} ${WRKSRC}/Jamroot
|
||||
@cd ${WRKSRC}/libs/config && \
|
||||
${SETENV} ${CONFIGURE_ENV} /bin/sh ./configure && \
|
||||
|
@ -1,4 +1,4 @@
|
||||
@comment $OpenBSD: PLIST,v 1.13 2013/12/20 16:37:16 ajacoutot Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.14 2013/12/25 08:49:47 ajacoutot Exp $
|
||||
@bin bin/bjam
|
||||
include/boost/
|
||||
include/boost/accumulators/
|
||||
@ -10154,6 +10154,10 @@ lib/libboost_python-mt.a
|
||||
@lib lib/libboost_python-mt.so.${LIBboost_python-mt_VERSION}
|
||||
lib/libboost_python.a
|
||||
@lib lib/libboost_python.so.${LIBboost_python_VERSION}
|
||||
lib/libboost_python3-mt.a
|
||||
@lib lib/libboost_python3-mt.so.${LIBboost_python3-mt_VERSION}
|
||||
lib/libboost_python3.a
|
||||
@lib lib/libboost_python3.so.${LIBboost_python3_VERSION}
|
||||
lib/libboost_random-mt.a
|
||||
@lib lib/libboost_random-mt.so.${LIBboost_random-mt_VERSION}
|
||||
lib/libboost_random.a
|
||||
|
Loading…
Reference in New Issue
Block a user