diff options
author | knu <knu@FreeBSD.org> | 2001-05-07 00:42:57 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-05-07 00:42:57 +0800 |
commit | 21a063789d6f72a69423150c5c1321b81bad6511 (patch) | |
tree | 2db82f9095a3d2651ace874833bc39d81f8ff51f /Mk | |
parent | 2d2fa6d4347e4117717b20794822282eece50e36 (diff) | |
download | freebsd-ports-gnome-21a063789d6f72a69423150c5c1321b81bad6511.tar.gz freebsd-ports-gnome-21a063789d6f72a69423150c5c1321b81bad6511.tar.zst freebsd-ports-gnome-21a063789d6f72a69423150c5c1321b81bad6511.zip |
Add a new variable RUBY_WITHOUT_SUFFIX.
Diffstat (limited to 'Mk')
-rw-r--r-- | Mk/bsd.ruby.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk index 7bd95808cd25..7089a60d24b4 100644 --- a/Mk/bsd.ruby.mk +++ b/Mk/bsd.ruby.mk @@ -47,7 +47,8 @@ Ruby_Include_MAINTAINER= knu@FreeBSD.org # RUBY_ARCH - Directory name of architecture dependent libraries. # RUBY_SUFFIX - Suffix for ruby binaries and directories. # _RUBY_SUFFIX - String to be used as RUBY_SUFFIX. Always ${RUBY_VER:S/.//}. -# RUBY_WITH_SUFFIX - Always ${LOCALBASE}/bin/ruby${_RUBY_SUFFIX}. +# RUBY_WITHOUT_SUFFIX - Always ${LOCALBASE}/bin/ruby. +# RUBY_WITH_SUFFIX - Always ${RUBY_WITHOUT_SUFFIX}${_RUBY_SUFFIX}. # RUBY_NAME - Ruby's name with trailing suffix. # # RUBY_RD - Set to full path of rd. @@ -133,7 +134,8 @@ RUBY_VERSION_CODE?= ${RUBY_VERSION:S/.//g} RUBY_VER= ${RUBY_VERSION:R} _RUBY_SUFFIX= ${RUBY_VER:S/.//} -RUBY_WITH_SUFFIX?= ${LOCALBASE}/bin/ruby${_RUBY_SUFFIX} +RUBY_WITHOUT_SUFFIX?= ${LOCALBASE}/bin/ruby +RUBY_WITH_SUFFIX?= ${RUBY_WITHOUT_SUFFIX}${_RUBY_SUFFIX} RUBY_PKGNAMEPREFIX?= ruby${RUBY_SUFFIX}- # could be rb${RUBY_SUFFIX}- RUBY_SHLIBVER?= ${_RUBY_SUFFIX} |