1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00

Support the case when RUBY_SUFFIX is empty.

This commit is contained in:
Akinori MUSHA 2000-09-06 21:50:04 +00:00
parent 98829f9325
commit e18a6dc6f6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=32348
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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