diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-05-27 02:42:11 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2002-05-27 02:42:11 +0000 |
commit | 402372fe49d4b59bb5b59d809eaf138aa09cf34f (patch) | |
tree | 682181482ea00fb2fee43645f6ac070c361613dd /devel/boost | |
parent | Override XFREE86_HTML_MAN (diff) |
If port is built with WITHOUT_PYTHON set, don't include Python libraries in
package list
PR: 38580
Submitted by: maintainer
Diffstat (limited to 'devel/boost')
-rw-r--r-- | devel/boost/Makefile | 5 | ||||
-rw-r--r-- | devel/boost/pkg-plist | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/devel/boost/Makefile b/devel/boost/Makefile index a137578cb313..af1b25e6de71 100644 --- a/devel/boost/Makefile +++ b/devel/boost/Makefile @@ -15,7 +15,10 @@ DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/g} MAINTAINER= pmarquis@pobox.com MAKE_ENV= BOOST_ROOT=${WRKSRC} TOOLS=gcc BUILD="debug release" -.if !defined(WITHOUT_PYTHON) +.if defined(WITHOUT_PYTHON) +PLIST_SUB+= BOOST_PYTHON="@comment " +.else +PLIST_SUB+= BOOST_PYTHON="" USE_PYTHON= yes MAKE_ENV+= PYTHON=${PYTHON_CMD} PYTHON_VERSION=${_PYTHON_VERSION} \ PYTHON_INCLUDES="${PYTHON_INCLUDEDIR}" \ diff --git a/devel/boost/pkg-plist b/devel/boost/pkg-plist index 275503478b57..160030533e49 100644 --- a/devel/boost/pkg-plist +++ b/devel/boost/pkg-plist @@ -598,8 +598,8 @@ include/boost/utility/base_from_member.hpp include/boost/utility_fwd.hpp include/boost/version.hpp include/boost/weak_ptr.hpp -lib/libboost_python.so -lib/libboost_python_debug.so +%%BOOST_PYTHON%%lib/libboost_python.so +%%BOOST_PYTHON%%lib/libboost_python_debug.so lib/libboost_regex.a lib/libboost_regex.so lib/libboost_regex_debug.a |