aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-05-06 07:02:32 +0800
committerknu <knu@FreeBSD.org>2001-05-06 07:02:32 +0800
commit110920c3be4fa9eec30ec0d766a4723e2fdd27a7 (patch)
tree6043fd760de9ee08e92c22f63536e78059dd2312 /Mk
parent072c7a74058fbc74a63268276233e5456d9d1e71 (diff)
downloadfreebsd-ports-gnome-110920c3be4fa9eec30ec0d766a4723e2fdd27a7.tar.gz
freebsd-ports-gnome-110920c3be4fa9eec30ec0d766a4723e2fdd27a7.tar.zst
freebsd-ports-gnome-110920c3be4fa9eec30ec0d766a4723e2fdd27a7.zip
Add a new variable RUBY_WITH_SUFFIX.
Diffstat (limited to '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}