summaryrefslogtreecommitdiff
path: root/Mk/bsd.ruby.mk
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-05-06 16:42:57 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-05-06 16:42:57 +0000
commitb41ae583e66cca53a8ce8586349d57dddbe87e00 (patch)
tree00952beabe4f308a0646e5da7acef88da5e7f2d1 /Mk/bsd.ruby.mk
parentThe primary MASTER_SITE has now been unavailable for over 24 hours. (diff)
Add a new variable RUBY_WITHOUT_SUFFIX.
Notes
Notes: svn path=/head/; revision=42334
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 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}