summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-05-19 11:45:36 +0000
committerjperkin <jperkin@pkgsrc.org>2016-05-19 11:45:36 +0000
commit11bb86eb0d26ad56175a72d5903252ac88986304 (patch)
tree26f16b3605ae611d1c4a35106cfbd2c67831e04d
parent721775a2fab2c4fa8f83cf1b2aa52fe50fef77bd (diff)
downloadpkgsrc-11bb86eb0d26ad56175a72d5903252ac88986304.tar.gz
Set the PYTHON_INCLUDE_PATH form too, as used by e.g. weechat.
-rw-r--r--lang/python/pyversion.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/python/pyversion.mk b/lang/python/pyversion.mk
index 773c0d96aac..16049ce81d9 100644
--- a/lang/python/pyversion.mk
+++ b/lang/python/pyversion.mk
@@ -1,4 +1,4 @@
-# $NetBSD: pyversion.mk,v 1.119 2016/02/25 14:42:56 jperkin Exp $
+# $NetBSD: pyversion.mk,v 1.120 2016/05/19 11:45:36 jperkin Exp $
# This file determines which Python version is used as a dependency for
# a package.
@@ -202,6 +202,7 @@ ALL_ENV+= PYTHON=${PYTHONBIN}
CMAKE_ARGS+= -DPYVERSSUFFIX:STRING=${PYVERSSUFFIX}
# set this explicitly, as by default it will prefer the built in framework
CMAKE_ARGS.Darwin+= -DPYTHON_INCLUDE_DIR:PATH=${BUILDLINK_DIR}/${PYINC}
+CMAKE_ARGS.Darwin+= -DPYTHON_INCLUDE_PATH:PATH=${BUILDLINK_DIR}/${PYINC}
CMAKE_ARGS.Darwin+= -DPYTHON_EXECUTABLE:FILEPATH=${PYTHONBIN}
.endif