summaryrefslogtreecommitdiff
path: root/Mk/bsd.ruby.mk
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-05-05 23:02:32 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-05-05 23:02:32 +0000
commitd7903b455fbf0d6a30fc5a01801058dafbfc1bda (patch)
treeaf7aa4834fbd767b3aaf562b635c35d1395d4b36 /Mk/bsd.ruby.mk
parentUpdate MASTER_SITES (diff)
Add a new variable RUBY_WITH_SUFFIX.
Notes
Notes: svn path=/head/; revision=42292
Diffstat (limited to 'Mk/bsd.ruby.mk')
-rw-r--r--Mk/bsd.ruby.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index af16ef07e297..ab0e59acb1a9 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -47,6 +47,7 @@ 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_NAME - Ruby's name with trailing suffix.
#
# RUBY_RD - Set to full path of rd.
@@ -131,6 +132,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_PKGNAMEPREFIX?= ruby${RUBY_SUFFIX}- # could be rb${RUBY_SUFFIX}-
RUBY_SHLIBVER?= ${_RUBY_SUFFIX}