diff options
| author | Akinori MUSHA <knu@FreeBSD.org> | 2001-04-01 21:21:27 +0000 |
|---|---|---|
| committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-04-01 21:21:27 +0000 |
| commit | e295b0bcd296c0eecc4707b2b25f76eff5fd7f1b (patch) | |
| tree | 849b5486c4c67b36e877e0fb1bea7f573e2aa5d8 /lang | |
| parent | e97bce7ae0a91d03c79a98e062ea5a80ff52e3c6 (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>
Diffstat (limited to 'lang')
| -rw-r--r-- | lang/ruby/Makefile | 2 | ||||
| -rw-r--r-- | lang/ruby16/Makefile | 2 |
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 |
