summaryrefslogtreecommitdiffstats
path: root/Mk/bsd.ruby.mk
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-05-06 16:42:57 +0000
committerknu <knu@FreeBSD.org>2001-05-06 16:42:57 +0000
commit21a063789d6f72a69423150c5c1321b81bad6511 (patch)
tree2db82f9095a3d2651ace874833bc39d81f8ff51f /Mk/bsd.ruby.mk
parent2d2fa6d4347e4117717b20794822282eece50e36 (diff)
downloadFreeBSD-ports-21a063789d6f72a69423150c5c1321b81bad6511.zip
FreeBSD-ports-21a063789d6f72a69423150c5c1321b81bad6511.tar.gz
Add a new variable RUBY_WITHOUT_SUFFIX.
Diffstat (limited to 'Mk/bsd.ruby.mk')
-rw-r--r--Mk/bsd.ruby.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index 7bd9580..7089a60 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}
OpenPOWER on IntegriCloud