pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/py-expat py-expat: fix for Python 2.7
details: https://anonhg.NetBSD.org/pkgsrc/rev/d971dc63a380
branches: trunk
changeset: 341266:d971dc63a380
user: adam <adam%pkgsrc.org@localhost>
date: Thu Oct 17 11:52:49 2019 +0000
description:
py-expat: fix for Python 2.7
diffstat:
textproc/py-expat/Makefile | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 97bfe0fd11a6 -r d971dc63a380 textproc/py-expat/Makefile
--- a/textproc/py-expat/Makefile Thu Oct 17 11:09:04 2019 +0000
+++ b/textproc/py-expat/Makefile Thu Oct 17 11:52:49 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2019/10/17 06:51:12 adam Exp $
+# $NetBSD: Makefile,v 1.27 2019/10/17 11:52:49 adam Exp $
PKGNAME= ${PYPKGPREFIX}-expat-${PY_DISTVERSION}
CATEGORIES= textproc python
@@ -8,7 +8,10 @@
COMMENT= Python interface to expat
EXTRACT_ELEMENTS= ${PYSUBDIR}/Modules/pyexpat.c
+.include "../../lang/python/extension.mk"
+.if ${_PYTHON_VERSION} != 27
EXTRACT_ELEMENTS+= ${PYSUBDIR}/Modules/clinic/pyexpat.c.h
+.endif
USE_GCC_RUNTIME= yes
Home |
Main Index |
Thread Index |
Old Index