summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-04-01 21:21:27 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-04-01 21:21:27 +0000
commite295b0bcd296c0eecc4707b2b25f76eff5fd7f1b (patch)
tree849b5486c4c67b36e877e0fb1bea7f573e2aa5d8 /lang
parentUpdate to 0.3-repacked. (diff)
Do a ${MV} with -f so that the installation process won't stop and ask
a question when some version of ruby is already installed. This is useful when you want to automatically upgrade the port using portupgrade. :) Submitted by: Jimmy Olgeni <olgeni@uli.it>
Notes
Notes: svn path=/head/; revision=40701
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby/Makefile2
-rw-r--r--lang/ruby16/Makefile2
2 files changed, 2 insertions, 2 deletions
diff --git a/lang/ruby/Makefile b/lang/ruby/Makefile
index 3cb73fb361e7..2de3aef69763 100644
--- a/lang/ruby/Makefile
+++ b/lang/ruby/Makefile
@@ -58,7 +58,7 @@ post-patch:
post-install:
strip ${RUBY}
.if empty(RUBY_SUFFIX)
- ${MV} ${RUBY} ${RUBY}${_RUBY_SUFFIX}
+ ${MV} -f ${RUBY} ${RUBY}${_RUBY_SUFFIX}
${LN} -fs ${RUBY}${_RUBY_SUFFIX} ${RUBY}
${MV} ${PREFIX}/man/man1/ruby.1 ${PREFIX}/man/man1/ruby${_RUBY_SUFFIX}.1
.else
diff --git a/lang/ruby16/Makefile b/lang/ruby16/Makefile
index 3cb73fb361e7..2de3aef69763 100644
--- a/lang/ruby16/Makefile
+++ b/lang/ruby16/Makefile
@@ -58,7 +58,7 @@ post-patch:
post-install:
strip ${RUBY}
.if empty(RUBY_SUFFIX)
- ${MV} ${RUBY} ${RUBY}${_RUBY_SUFFIX}
+ ${MV} -f ${RUBY} ${RUBY}${_RUBY_SUFFIX}
${LN} -fs ${RUBY}${_RUBY_SUFFIX} ${RUBY}
${MV} ${PREFIX}/man/man1/ruby.1 ${PREFIX}/man/man1/ruby${_RUBY_SUFFIX}.1
.else