diff options
author | sergei <sergei@FreeBSD.org> | 2003-11-20 16:11:52 +0000 |
---|---|---|
committer | sergei <sergei@FreeBSD.org> | 2003-11-20 16:11:52 +0000 |
commit | d561ae69d38000e52521527e1490c70b3430764e (patch) | |
tree | 4c91b15eeb73722222dcd76c4ceeea75eb0ec924 /devel/boost | |
parent | 4485b393bf0447d84a9bb7dd42f797eb404fec6f (diff) | |
download | FreeBSD-ports-d561ae69d38000e52521527e1490c70b3430764e.zip FreeBSD-ports-d561ae69d38000e52521527e1490c70b3430764e.tar.gz |
- Fix build (previous update was incomplete):
Do not add PYTHON_* variables to MAKE_ENV unless
WITH_PYTHON knob is enabled
- Remove spaces on empty line to please portlint
While I'm here:
- s/+=/=/ where appropriate
PR: 59255
Submitted by: Sergey Matveychuk <sem@ciam.ru>
Approved by: maintainer's silence
Diffstat (limited to 'devel/boost')
-rw-r--r-- | devel/boost/Makefile | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/devel/boost/Makefile b/devel/boost/Makefile index ecdd44a..061ec53 100644 --- a/devel/boost/Makefile +++ b/devel/boost/Makefile @@ -17,24 +17,22 @@ DISTNAME= ${PORTNAME}-${PORTVERSION} MAINTAINER= pmarquis@pobox.com COMMENT= Free peer-reviewed portable C++ source libraries -MAKE_ENV+= BOOST_ROOT=${WRKSRC} BUILD="debug release" +MAKE_ENV= BOOST_ROOT=${WRKSRC} BUILD="debug release" .if defined(WITH_PYTHON) USE_PYTHON= yes # 1.30.2 doesn't support python2.3 PYTHON_VERSION= python2.2 -COMPILED_LIBS+= python -PLIST_SUB+= BOOST_PYTHON="" +COMPILED_LIBS= python +PLIST_SUB= BOOST_PYTHON="" +MAKE_ENV+= PYTHON_ROOT="${PREFIX}" \ + PYTHON_VERSION="${_PYTHON_VERSION}" \ + PYTHON_INCLUDES="${PYTHON_INCLUDEDIR}" \ + PYTHON_LIB_PATH="${PYTHON_LIBDIR}" .else -PLIST_SUB+= BOOST_PYTHON="@comment " +PLIST_SUB= BOOST_PYTHON="@comment " .endif -.include <bsd.port.pre.mk> - -MAKE_ENV+= PYTHON_ROOT="${PREFIX}" -MAKE_ENV+= PYTHON_VERSION="${_PYTHON_VERSION}" -MAKE_ENV+= PYTHON_INCLUDES="${PYTHON_INCLUDEDIR}" -MAKE_ENV+= PYTHON_LIB_PATH="${PYTHON_LIBDIR}" INSTALLS_SHLIB= yes DOCFILES= *.css *.gif *.htm *.html *.jpeg *.jpg *.png @@ -42,6 +40,8 @@ BJAM= ${WRKSRC}/tools/build/jam_src/bin.freebsd/bjam COMPILED_LIBS+= date_time filesystem regex signals test thread +.include <bsd.port.pre.mk> + do-configure: # for -pthread options .if ${OSVERSION} >= 500016 |