summaryrefslogtreecommitdiff
path: root/x11/tk
diff options
context:
space:
mode:
authoragc <agc>2000-10-16 15:07:45 +0000
committeragc <agc>2000-10-16 15:07:45 +0000
commitc417ec450a73bd0770c81898e0a02491a7b0bc45 (patch)
tree84a4f101db32715d2a514fd638c1a4447ae15a13 /x11/tk
parent7825f1b98158e2620d06886db4ef19d5317fbf91 (diff)
downloadpkgsrc-c417ec450a73bd0770c81898e0a02491a7b0bc45.tar.gz
Remove any existing ${PREFIX}/bin/wish symbolic link before creating
a new one. Fixes PR pkg/11233, from Laine Stump, albeit in a different way, since Solaris disagrees on what "ln -fs" means.
Diffstat (limited to 'x11/tk')
-rw-r--r--x11/tk/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/x11/tk/Makefile b/x11/tk/Makefile
index 900d06ac7d7..10370a0b02d 100644
--- a/x11/tk/Makefile
+++ b/x11/tk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2000/09/08 01:03:21 jwise Exp $
+# $NetBSD: Makefile,v 1.4 2000/10/16 15:07:45 agc Exp $
DISTNAME= tk8.3.2
PKGNAME= tk-8.3.2
@@ -20,6 +20,7 @@ USE_X11= yes
USE_LIBTOOL= yes
post-install:
+ ${RM} -f ${PREFIX}/bin/wish
cd ${PREFIX}/bin && ${LN} -s wish8.3 wish
${MKDIR} ${PREFIX}/include/tk
${MKDIR} ${PREFIX}/include/tk/generic