summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-05-05 23:02:32 +0000
committerknu <knu@FreeBSD.org>2001-05-05 23:02:32 +0000
commit110920c3be4fa9eec30ec0d766a4723e2fdd27a7 (patch)
tree6043fd760de9ee08e92c22f63536e78059dd2312
parent072c7a74058fbc74a63268276233e5456d9d1e71 (diff)
downloadFreeBSD-ports-110920c3be4fa9eec30ec0d766a4723e2fdd27a7.zip
FreeBSD-ports-110920c3be4fa9eec30ec0d766a4723e2fdd27a7.tar.gz
Add a new variable RUBY_WITH_SUFFIX.
-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 af16ef0..ab0e59a 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}
OpenPOWER on IntegriCloud