summaryrefslogtreecommitdiff
path: root/x11/tk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-03-20 17:38:23 +0000
committerjlam <jlam@pkgsrc.org>2002-03-20 17:38:23 +0000
commitfc477d50abcf0d7e915bdb094667f3cc0de0d243 (patch)
treeffcbf282824b8b110abf70efdafbdccd610641d5 /x11/tk
parent224a27f8aa71917bcddcf87932e71cf4bba198ed (diff)
downloadpkgsrc-fc477d50abcf0d7e915bdb094667f3cc0de0d243.tar.gz
Touch a few files that are modified as part of post-build so that they're
not rebuilt at install-time. This fixes buildlink leakage for tk noted in pkg/15794.
Diffstat (limited to 'x11/tk')
-rw-r--r--x11/tk/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11/tk/Makefile b/x11/tk/Makefile
index 258e258b94b..116f8eae19e 100644
--- a/x11/tk/Makefile
+++ b/x11/tk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2001/12/23 17:11:30 bjoern Exp $
+# $NetBSD: Makefile,v 1.18 2002/03/20 17:38:23 jlam Exp $
DISTNAME= tk8.3.4
PKGNAME= tk-8.3.4
@@ -41,6 +41,13 @@ post-patch:
${RM} -f mkLinks.tmp; \
${CHMOD} +x mkLinks;
+pre-install:
+ cd ${WRKSRC}; for file in \
+ tkUnixInit.o libtk83.so wish; \
+ do \
+ ${TOUCH} $${file}; \
+ done
+
post-install:
${CHMOD} -R ugo-w ${WRKDIR}/man
cd ${WRKDIR}; ${PAX} -rw man ${PREFIX}