summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjlam <jlam>2002-03-20 17:38:23 +0000
committerjlam <jlam>2002-03-20 17:38:23 +0000
commit460796e84e77e1a91c5f5ae03d75897f3ffdb2eb (patch)
treeffcbf282824b8b110abf70efdafbdccd610641d5 /x11
parentcf7039fc9651edf64b865f5f7ceb4e3acb4f27bd (diff)
downloadpkgsrc-460796e84e77e1a91c5f5ae03d75897f3ffdb2eb.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')
-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}