aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2013-06-01 00:03:49 +0800
committermiwi <miwi@FreeBSD.org>2013-06-01 00:03:49 +0800
commit378a2dd0e0ebece14e43ea39cee56e05299797dd (patch)
tree17578402d70898d0690d14430a29d45faf952d42 /Mk
parent835e3166a6d4e8b6b3eb6eb96e5d201fb97d1394 (diff)
downloadfreebsd-ports-graphics-378a2dd0e0ebece14e43ea39cee56e05299797dd.tar.gz
freebsd-ports-graphics-378a2dd0e0ebece14e43ea39cee56e05299797dd.tar.zst
freebsd-ports-graphics-378a2dd0e0ebece14e43ea39cee56e05299797dd.zip
- Remove support for USE_CMAKE and KDE4_BUILDENV, they are no of use anymore.
Unconditionally set CMAKE_ARGS in bsd.python.mk, as it don't affect non-cmake ports PR: 177356 Submitted by: makc@
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.python.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/Mk/bsd.python.mk b/Mk/bsd.python.mk
index 757b6c50430..2c9fbfa2679 100644
--- a/Mk/bsd.python.mk
+++ b/Mk/bsd.python.mk
@@ -671,10 +671,9 @@ RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/twisted/__init__.py:${PORTSDIR}/devel/py-twis
# This in turn might cause it to link against version X while using the
# includes of version Y, leading to a broken port.
# Enforce a certain Python version by using PYTHON_VER for cmake.
-.if defined(USE_CMAKE)
+
CMAKE_ARGS+= -DPythonLibs_FIND_VERSION:STRING="${PYTHON_VER}" \
-DPythonInterp_FIND_VERSION:STRING="${PYTHON_VER}"
-.endif
.endif # !defined(_POSTMKINCLUDED) && !defined(Python_Pre_Include)