diff options
author | wiz <wiz@pkgsrc.org> | 2011-07-12 11:25:31 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2011-07-12 11:25:31 +0000 |
commit | 047de32a144874fdcdcb913b08d7e8dfb99fb333 (patch) | |
tree | dc0749066396dbf1e842728ee397b9ab08d2a52a /x11 | |
parent | e6656dfd5470576d79e1cf9f4a33fe506401c82b (diff) | |
download | pkgsrc-047de32a144874fdcdcb913b08d7e8dfb99fb333.tar.gz |
Re-add cd ${WRKSRC} to fix patch application.
Remove some unnecessary whitespace.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/py-Tk/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/x11/py-Tk/Makefile b/x11/py-Tk/Makefile index 30480205920..1b6fcc7d39a 100644 --- a/x11/py-Tk/Makefile +++ b/x11/py-Tk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.46 2011/07/10 16:58:19 wiz Exp $ +# $NetBSD: Makefile,v 1.47 2011/07/12 11:25:31 wiz Exp $ # PKGNAME= ${PYPKGPREFIX}-Tk-0 @@ -25,13 +25,13 @@ PYSETUPINSTALLARGS+= --install-lib ${PREFIX}/${PYLIB}/lib-dynload .include "../../lang/python/extension.mk" -.if ${_PYTHON_VERSION} >= 27 -EXTRACT_ELEMENTS+= ${PYSUBDIR}/Modules/tkinter.h -.endif +.if ${_PYTHON_VERSION} >= 27 +EXTRACT_ELEMENTS+= ${PYSUBDIR}/Modules/tkinter.h +.endif # ignore errors due to missing files (EXTRACT_ELEMENTS!) do-patch: - for f in ${PATCHDIR}/patch-*; do \ + cd ${WRKSRC} && for f in ${PATCHDIR}/patch-*; do \ ${PATCH} ${PATCHARGS} --batch <$$f || true; \ done |