pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/py-expat



Module Name:    pkgsrc
Committed By:   adam
Date:           Thu Oct 17 11:52:49 UTC 2019

Modified Files:
        pkgsrc/textproc/py-expat: Makefile

Log Message:
py-expat: fix for Python 2.7


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/textproc/py-expat/Makefile

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

Modified files:

Index: pkgsrc/textproc/py-expat/Makefile
diff -u pkgsrc/textproc/py-expat/Makefile:1.26 pkgsrc/textproc/py-expat/Makefile:1.27
--- pkgsrc/textproc/py-expat/Makefile:1.26      Thu Oct 17 06:51:12 2019
+++ pkgsrc/textproc/py-expat/Makefile   Thu Oct 17 11:52:49 2019
@@ -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 @@ HOMEPAGE=      https://www.python.org/
 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