pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/python python: handle pythons with pymalloc optio...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6b114a1e93d9
branches: trunk
changeset: 314995:6b114a1e93d9
user: markd <markd%pkgsrc.org@localhost>
date: Tue Nov 13 11:57:26 2018 +0000
description:
python: handle pythons with pymalloc option when setting PYTHONCONFIG
diffstat:
lang/python/pyversion.mk | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r b2b9ff61ec00 -r 6b114a1e93d9 lang/python/pyversion.mk
--- a/lang/python/pyversion.mk Tue Nov 13 11:54:06 2018 +0000
+++ b/lang/python/pyversion.mk Tue Nov 13 11:57:26 2018 +0000
@@ -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 @@
.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