mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 17:29:23 -04:00
If port is built with WITHOUT_PYTHON set, don't include Python libraries in
package list PR: 38580 Submitted by: maintainer
This commit is contained in:
parent
9bb3f972cc
commit
402372fe49
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60062
2 changed files with 6 additions and 3 deletions
|
@ -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}" \
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue