Date: Sun, 9 Mar 2014 16:26:10 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r347658 - head/Mk Message-ID: <201403091626.s29GQAKd038491@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403091626.s29GQAKd038491>