summaryrefslogtreecommitdiff
path: root/lang/jdk
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-07-02 13:42:39 +0000
committerwiz <wiz@pkgsrc.org>2004-07-02 13:42:39 +0000
commit0e75df64caad8cda3b92a316226d2e1ad06ff652 (patch)
tree0c50bca926e21d31958e77703451e3be5157b06d /lang/jdk
parentf4648e7d781dabcb7a1172cdea3822806d62a702 (diff)
downloadpkgsrc-0e75df64caad8cda3b92a316226d2e1ad06ff652.tar.gz
Add -f to mv for non-root users.
Diffstat (limited to 'lang/jdk')
-rw-r--r--lang/jdk/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/jdk/Makefile b/lang/jdk/Makefile
index c2781e95e6b..8a2f1db3e72 100644
--- a/lang/jdk/Makefile
+++ b/lang/jdk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2004/07/01 10:57:05 wiz Exp $
+# $NetBSD: Makefile,v 1.39 2004/07/02 13:42:39 wiz Exp $
#
VERSION= 1.1.8
@@ -75,10 +75,10 @@ post-patch:
for X in lib*.so ;do \
if [ "$$X" = "libXm.so" ]; then continue; fi; \
if [ -f $$X.* ] ;then \
- ${MV} $$X $$X.* ; \
+ ${MV} -f $$X $$X.* ; \
${LN} -s $$X.* $$X; \
elif [ -f "$$X" ] ;then \
- ${MV} $$X $$X.${VERSION} ; \
+ ${MV} -f $$X $$X.${VERSION} ; \
${LN} -s $$X.${VERSION} $$X; \
fi ; \
done)