diff options
author | agc <agc@pkgsrc.org> | 2000-10-16 15:07:45 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2000-10-16 15:07:45 +0000 |
commit | 4c180ff68caf67e63a74d79e1144a97f777450d3 (patch) | |
tree | 84a4f101db32715d2a514fd638c1a4447ae15a13 /x11 | |
parent | 130c809b1803604e73834b58e4aa5786db6f4831 (diff) | |
download | pkgsrc-4c180ff68caf67e63a74d79e1144a97f777450d3.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')
-rw-r--r-- | x11/tk/Makefile | 3 |
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 |