diff options
author | minskim <minskim@pkgsrc.org> | 2004-02-09 23:19:27 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-02-09 23:19:27 +0000 |
commit | 2e42b35dacfe9cde4888662b1c9b735b40bc102a (patch) | |
tree | 2676f1e194bf30ede40f1faf7fb83cb105b214a9 | |
parent | e72366f27cb75321adeb37b141fb8e03559e9937 (diff) | |
download | pkgsrc-2e42b35dacfe9cde4888662b1c9b735b40bc102a.tar.gz |
Remove a temporary directory created at post-install, so that a
non-root user can 'make clean'. Approved by wiz@.
-rw-r--r-- | lang/tcl/Makefile | 3 | ||||
-rw-r--r-- | x11/tk/Makefile | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/lang/tcl/Makefile b/lang/tcl/Makefile index dec90adb0a9..30495421db6 100644 --- a/lang/tcl/Makefile +++ b/lang/tcl/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.24 2004/02/07 17:37:24 minskim Exp $ +# $NetBSD: Makefile,v 1.25 2004/02/09 23:19:27 minskim Exp $ # DISTNAME= tcl8.3.4 @@ -79,6 +79,7 @@ pre-install: post-install: cd ${WRKDIR} && ${PAX} -rwpm man ${PREFIX} + ${RM} -rf ${WRKDIR}/man cd ${PREFIX}/bin && ${LN} -s tclsh8.3 tclsh ${INSTALL_DATA_DIR} ${PREFIX}/include/tcl ${INSTALL_DATA_DIR} ${PREFIX}/include/tcl/unix diff --git a/x11/tk/Makefile b/x11/tk/Makefile index 017d516468d..0f75cf39cee 100644 --- a/x11/tk/Makefile +++ b/x11/tk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2004/02/07 17:37:24 minskim Exp $ +# $NetBSD: Makefile,v 1.27 2004/02/09 23:19:27 minskim Exp $ DISTNAME= tk8.3.4 PKGNAME= tk-8.3.4 @@ -52,6 +52,7 @@ pre-install: post-install: cd ${WRKDIR} && ${PAX} -rwpm man ${PREFIX} + ${RM} -rf ${WRKDIR}/man ${RM} -f ${PREFIX}/bin/wish cd ${PREFIX}/bin && ${LN} -s wish8.3 wish ${INSTALL_DATA_DIR} ${PREFIX}/include/tk |