diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-09-06 21:50:04 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-09-06 21:50:04 +0000 |
commit | e18a6dc6f627849d77d05fb0d7e8da915c9741bc (patch) | |
tree | d16fd60f550c6f178c38a244e737f2af6476a3f3 /lang/ruby14 | |
parent | This was just repocopied from lang/ruby to keep version 1.4.x of Ruby (diff) |
Support the case when RUBY_SUFFIX is empty.
Notes
Notes:
svn path=/head/; revision=32348
Diffstat (limited to 'lang/ruby14')
-rw-r--r-- | lang/ruby14/Makefile | 3 | ||||
-rw-r--r-- | lang/ruby14/pkg-plist | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lang/ruby14/Makefile b/lang/ruby14/Makefile index 076895e643b4..08ee9eaf13ab 100644 --- a/lang/ruby14/Makefile +++ b/lang/ruby14/Makefile @@ -18,7 +18,7 @@ RUBY_VER= 1.4 GNU_CONFIGURE= yes INSTALLS_SHLIB= yes -CONFIGURE_ARGS= --enable-shared --program-suffix="${RUBY_SUFFIX}" +CONFIGURE_ARGS= --enable-shared MAN1= ${RUBY_NAME}.1 ELISP_FILES= inf-ruby.el ruby-mode.el rubydb3x.el @@ -30,6 +30,7 @@ XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp .include "${PORTSDIR}/Mk/bsd.ruby.mk" .if !empty(RUBY_SUFFIX) +CONFIGURE_ARGS+= --program-suffix="${RUBY_SUFFIX}" MLINKS= ${RUBY_NAME}.1 ruby.1 .endif diff --git a/lang/ruby14/pkg-plist b/lang/ruby14/pkg-plist index d4c97d23b90b..0af4a573952e 100644 --- a/lang/ruby14/pkg-plist +++ b/lang/ruby14/pkg-plist @@ -1,5 +1,5 @@ -bin/ruby bin/%%RUBY_NAME%% +@unexec if [ -f %D/bin/ruby ]; then rm %D/bin/ruby; fi lib/lib%%RUBY_NAME%%.so lib/lib%%RUBY_NAME%%.so.%%RUBY_SHLIBVER%% %%RUBY_ARCHLIBDIR%%/config.h |