aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2018-04-18 21:58:15 +0800
committerjbeich <jbeich@FreeBSD.org>2018-04-18 21:58:15 +0800
commit79f478f6404787583f5c9a1f4e4e67767574beaf (patch)
tree1fed61157eb87beace70cd0cf7a66c32a28677cd /Mk
parentd13c775570c558caaf2a9633b618355ed6e5c17c (diff)
downloadfreebsd-ports-gnome-79f478f6404787583f5c9a1f4e4e67767574beaf.tar.gz
freebsd-ports-gnome-79f478f6404787583f5c9a1f4e4e67767574beaf.tar.zst
freebsd-ports-gnome-79f478f6404787583f5c9a1f4e4e67767574beaf.zip
devel/cmake: allow consumers to qualify boost_python version
PR: 227428 Exp-run by: antoine
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/python.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/Mk/Uses/python.mk b/Mk/Uses/python.mk
index ae78279def26..c169c18ad633 100644
--- a/Mk/Uses/python.mk
+++ b/Mk/Uses/python.mk
@@ -663,6 +663,7 @@ PY_FUTURES= ${PYTHON_PKGNAMEPREFIX}futures>0:devel/py-futures@${PY_FLAVOR}
PY_FUTURES=
.endif
+CMAKE_ARGS+= -DBOOST_PYTHON_SUFFIX:STRING=${PYTHON_SUFFIX}
PY_BOOST_LIB= boost_python${PYTHON_SUFFIX}
PY_BOOST= lib${PY_BOOST_LIB}.so:devel/boost-python-libs@${PY_FLAVOR}