svn commit: r455506 - head/Mk/Uses

Mathieu Arnold mat at FreeBSD.org
Mon Dec 4 11:17:25 UTC 2017


Author: mat
Date: Mon Dec  4 11:17:23 2017
New Revision: 455506
URL: https://svnweb.freebsd.org/changeset/ports/455506

Log:
  Depend on pkgnames and not files, always better.
  
  Sponsored by:	Absolight

Modified:
  head/Mk/Uses/python.mk

Modified: head/Mk/Uses/python.mk
==============================================================================
--- head/Mk/Uses/python.mk	Mon Dec  4 11:07:10 2017	(r455505)
+++ head/Mk/Uses/python.mk	Mon Dec  4 11:17:23 2017	(r455506)
@@ -661,8 +661,8 @@ CMAKE_ARGS+=	-DPython_ADDITIONAL_VERSIONS=${PYTHON_VER
 
 # Python 3rd-party modules
 PYGAME=		${PYTHON_PKGNAMEPREFIX}game>0:devel/py-game@${PY_FLAVOR}
-PYNUMERIC=	${PYTHON_SITELIBDIR}/Numeric/Numeric.py:math/py-numeric@${PY_FLAVOR}
-PYNUMPY=	${PYTHON_SITELIBDIR}/numpy/core/numeric.py:math/py-numpy@${PY_FLAVOR}
+PYNUMERIC=	${PYTHON_PKGNAMEPREFIX}numeric>0:math/py-numeric@${PY_FLAVOR}
+PYNUMPY=	${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR}
 
 # Common Python modules that can be needed but only for some versions of Python.
 .if ${PYTHON_REL} < 3400


More information about the svn-ports-head mailing list