pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/python



Module Name:    pkgsrc
Committed By:   markd
Date:           Tue Nov 13 11:57:27 UTC 2018

Modified Files:
        pkgsrc/lang/python: pyversion.mk

Log Message:
python: handle pythons with pymalloc option when setting PYTHONCONFIG


To generate a diff of this commit:
cvs rdiff -u -r1.126 -r1.127 pkgsrc/lang/python/pyversion.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/python/pyversion.mk
diff -u pkgsrc/lang/python/pyversion.mk:1.126 pkgsrc/lang/python/pyversion.mk:1.127
--- pkgsrc/lang/python/pyversion.mk:1.126       Fri Oct 19 16:12:36 2018
+++ pkgsrc/lang/python/pyversion.mk     Tue Nov 13 11:57:26 2018
@@ -1,4 +1,4 @@
-# $NetBSD: pyversion.mk,v 1.126 2018/10/19 16:12:36 bsiegert Exp $
+# $NetBSD: pyversion.mk,v 1.127 2018/11/13 11:57:26 markd Exp $
 
 # This file determines which Python version is used as a dependency for
 # a package.
@@ -176,7 +176,11 @@ BUILDLINK_DEPMETHOD.python?=       build
 .endif
 
 PYTHONBIN=     ${LOCALBASE}/bin/python${PYVERSSUFFIX}
+.if exists(${PYTHONBIN}m)
+PYTHONCONFIG=  ${LOCALBASE}/bin/python${PYVERSSUFFIX}m-config
+.else
 PYTHONCONFIG=  ${LOCALBASE}/bin/python${PYVERSSUFFIX}-config
+.endif
 PY_COMPILE_ALL= \
        ${PYTHONBIN} ${PREFIX}/lib/python${PYVERSSUFFIX}/compileall.py -q
 PY_COMPILE_O_ALL= \



Home | Main Index | Thread Index | Old Index