svn commit: r347658 - head/Mk
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Mar 9 16:26:11 UTC 2014
Author: sunpoet
Date: Sun Mar 9 16:26:10 2014
New Revision: 347658
URL: http://svnweb.freebsd.org/changeset/ports/347658
QAT: https://qat.redports.org/buildarchive/r347658/
Log:
- Fix following error message when "make update" with python{32,33} as default python interpreter
make[1]: "/usr/ports/Mk/bsd.python.mk" line 343: Malformed conditional (exists(${PYTHON_CMD}-config) && ${PORTNAME} != python33)
make[1]: Fatal errors encountered -- cannot continuemake: "/usr/ports/Mk/bsd.port.subdir.mk" line 123: warning: "make -V PYTHONBASE USE_PYTHON=1 -f /usr/ports/Mk/bsd.port.mk" returned non-zero status
Approved by: antoine (portmgr)
Modified:
head/Mk/bsd.python.mk
Modified: head/Mk/bsd.python.mk
==============================================================================
--- head/Mk/bsd.python.mk Sun Mar 9 16:19:51 2014 (r347657)
+++ head/Mk/bsd.python.mk Sun Mar 9 16:26:10 2014 (r347658)
@@ -340,7 +340,7 @@ PYTHON_PORTSDIR= ${PORTSDIR}/lang/python
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/python
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
More information about the svn-ports-all
mailing list