aboutsummaryrefslogtreecommitdiff
path: root/devel/boost-libs
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2015-09-27 21:58:31 +0000
committerJan Beich <jbeich@FreeBSD.org>2015-09-27 21:58:31 +0000
commitc81f84bcf41d55bd176fa4218ab8c66e1a3681b7 (patch)
tree1cb198fc157b8a938097742ffabded9c505a8113 /devel/boost-libs
parent2669016fb0b2857ae1c9fb2510b88a56acd7adb7 (diff)
downloadports-c81f84bcf41d55bd176fa4218ab8c66e1a3681b7.tar.gz
ports-c81f84bcf41d55bd176fa4218ab8c66e1a3681b7.zip
devel/boost-*: convert to more option helpers
Approved by: office (truckman, bapt) (maintainer) Differential Revision: https://reviews.freebsd.org/D3739
Notes
Notes: svn path=/head/; revision=398060
Diffstat (limited to 'devel/boost-libs')
-rw-r--r--devel/boost-libs/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/devel/boost-libs/Makefile b/devel/boost-libs/Makefile
index 9299ef984b6d..dfda699d7b8b 100644
--- a/devel/boost-libs/Makefile
+++ b/devel/boost-libs/Makefile
@@ -14,7 +14,9 @@ VERBOSE_BUILD_DESC= Show compiler messages
ICU_DESC= Boost.Regex with ICU unicode support
ICU_LIB_DEPENDS= libicuuc.so:${PORTSDIR}/devel/icu
+ICU_VARS= BJAM_ARGS+=-sICU_PATH=${LOCALBASE}
ICU_USES_OFF= iconv
+ICU_VARS_OFF= BJAM_ARGS+=-sICONV_PATH=${ICONV_PREFIX}
.include "${.CURDIR}/../boost-all/common.mk"
@@ -30,12 +32,6 @@ PLIST_SUB+= COROUTINE="@comment " CONTEXT="@comment " \
PLIST_SUB+= COROUTINE="" CONTEXT="" LOCALE="" LOG=""
.endif
-.if ${PORT_OPTIONS:MICU}
-BJAM_ARGS+= -sICU_PATH=${LOCALBASE}
-.else
-BJAM_ARGS+= -sICONV_PATH=${ICONV_PREFIX}
-.endif
-
do-build:
@cd ${WRKSRC} && \
${SETENV} ${MAKE_ENV} ${BJAM} ${BJAM_ARGS} stage
@@ -64,4 +60,4 @@ post-install:
-e "s|%%PYTHON_LIBDIR%%|${PYTHON_LIBDIR}|g" \
-e "s|%%PYTHON_VERSION%%|${PYTHON_VERSION}|g" ${PKGMESSAGE}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>