aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-05-27 10:42:11 +0800
committerijliao <ijliao@FreeBSD.org>2002-05-27 10:42:11 +0800
commitee4af1cbb6f6fbce6a9dbff3381cf81a938a5c58 (patch)
tree6348604a597a386b937587a1700d5ef8be499f65
parent387ad3db5c54ffc585b5753e4139b6f957086b46 (diff)
downloadfreebsd-ports-gnome-ee4af1cbb6f6fbce6a9dbff3381cf81a938a5c58.tar.gz
freebsd-ports-gnome-ee4af1cbb6f6fbce6a9dbff3381cf81a938a5c58.tar.zst
freebsd-ports-gnome-ee4af1cbb6f6fbce6a9dbff3381cf81a938a5c58.zip
If port is built with WITHOUT_PYTHON set, don't include Python libraries in
package list PR: 38580 Submitted by: maintainer
-rw-r--r--devel/boost/Makefile5
-rw-r--r--devel/boost/pkg-plist4
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