diff options
author | joerg <joerg@pkgsrc.org> | 2020-01-08 13:44:41 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2020-01-08 13:44:41 +0000 |
commit | 9cc745e1d55f17b207fc8a97871ac659c58e5b8c (patch) | |
tree | e3f8d98870855a61f1bfd08d6ff6c650415e969b /x11 | |
parent | 14861a598f8981c1a82bbe10ff62b2d6e80387d2 (diff) | |
download | pkgsrc-9cc745e1d55f17b207fc8a97871ac659c58e5b8c.tar.gz |
Always extract the full Python distfile for modules.
This retires an old "optimisation" that over time has created more
problems than it solved, including various questions from users about
the ignored patch failures.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/py-Tk/Makefile | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/x11/py-Tk/Makefile b/x11/py-Tk/Makefile index a83d083e8b0..81da4e38fc5 100644 --- a/x11/py-Tk/Makefile +++ b/x11/py-Tk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.69 2020/01/03 06:24:42 adam Exp $ +# $NetBSD: Makefile,v 1.70 2020/01/08 13:44:42 joerg Exp $ PKGNAME= ${PYPKGPREFIX}-Tk-${PY_DISTVERSION} PKGREVISION= 5 @@ -11,8 +11,6 @@ LICENSE= python-software-foundation USE_GCC_RUNTIME= yes -EXTRACT_ELEMENTS= ${PYSUBDIR}/Modules/_tkinter.c \ - ${PYSUBDIR}/Modules/tkappinit.c PYDISTUTILSPKG= yes PY_SETUP_SUBST+= BLPREFIX=${LOCALBASE} PY_SETUP_SUBST+= TCLRTPREFIX=${BUILDLINK_PREFIX.tcl} @@ -30,17 +28,6 @@ PY_SETUP_SUBST+= X11LIB=\'X11\' .endif .include "../../lang/python/extension.mk" - -.if ${_PYTHON_VERSION} >= 27 -EXTRACT_ELEMENTS+= ${PYSUBDIR}/Modules/tkinter.h -.endif - -# ignore errors due to missing files (EXTRACT_ELEMENTS!) -do-patch: - set -e; cd ${WRKSRC} && for f in ${PATCHDIR}/patch-*; do \ - ${PATCH} ${PATCHARGS} --batch <$$f || ${TRUE}; \ - done - .include "../../lang/python/srcdist.mk" .include "../../lang/tcl/buildlink3.mk" .include "../../x11/tk/buildlink3.mk" |