diff options
-rw-r--r-- | lang/python/srcdist.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lang/python/srcdist.mk b/lang/python/srcdist.mk index ee536ab98d9..63ff87f5a88 100644 --- a/lang/python/srcdist.mk +++ b/lang/python/srcdist.mk @@ -1,4 +1,4 @@ -# $NetBSD: srcdist.mk,v 1.34 2010/09/17 07:11:41 obache Exp $ +# $NetBSD: srcdist.mk,v 1.35 2015/12/05 20:44:22 adam Exp $ .include "../../lang/python/pyversion.mk" @@ -11,6 +11,10 @@ WRKSRC= ${WRKDIR}/${PYSUBDIR} # This is used for standard modules shipped with Python but build as # separate packages. +. if ${PYVERSSUFFIX} == "3.5" +EXTRACT_ELEMENTS+= ${PYSUBDIR}/Modules/clinic +. endif + python-std-patchsetup: ${SED} ${PY_SETUP_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/} \ <${FILESDIR}/setup.py >${WRKSRC}/setup.py |