aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.python.mk
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-03-09 16:26:10 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2014-03-09 16:26:10 +0000
commitdf5fb71a8ebacaf6dd7c21d2ecbb4dfd98ce81c1 (patch)
treebd1bfca6a4d1b3918c3a1285d3fef52685a9e16f /Mk/bsd.python.mk
parent72792ab6927e232d14529a1e2e523a7ce9be32e0 (diff)
Notes
Diffstat (limited to 'Mk/bsd.python.mk')
-rw-r--r--Mk/bsd.python.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/bsd.python.mk b/Mk/bsd.python.mk
index 44c344feeca5..e1abfa107d2c 100644
--- a/Mk/bsd.python.mk
+++ b/Mk/bsd.python.mk
@@ -340,7 +340,7 @@ PYTHON_PORTSDIR= ${PORTSDIR}/lang/python33
PYTHON_REL= 334
PYTHON_SUFFIX= 33
PYTHON_VER= 3.3
-.if exists(${PYTHON_CMD}-config) && ${PORTNAME} != python33
+.if exists(${PYTHON_CMD}-config) && defined(PORTNAME) && ${PORTNAME} != python33
PYTHON_ABIVER!= ${PYTHON_CMD}-config --abiflags
.endif
@@ -351,7 +351,7 @@ PYTHON_PORTSDIR= ${PORTSDIR}/lang/python32
PYTHON_REL= 325
PYTHON_SUFFIX= 32
PYTHON_VER= 3.2
-.if exists(${PYTHON_CMD}-config) && ${PORTNAME} != python32
+.if exists(${PYTHON_CMD}-config) && defined(PORTNAME) && ${PORTNAME} != python32
PYTHON_ABIVER!= ${PYTHON_CMD}-config --abiflags
.endif