From 9cc745e1d55f17b207fc8a97871ac659c58e5b8c Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 8 Jan 2020 13:44:41 +0000 Subject: 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. --- x11/py-Tk/Makefile | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'x11') 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" -- cgit v1.2.3