aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-01-24 03:18:58 +0800
committerknu <knu@FreeBSD.org>2003-01-24 03:18:58 +0800
commit7bf3c1ec4c37d1ffe29402f5d6d442aabbccd024 (patch)
tree6b88e6001b0b39b0a5a9891213b4e7dffc7cb203 /lang
parent2c6a7e1c2e19c097e3c4d879c5cdaa49be22539b (diff)
downloadfreebsd-ports-gnome-7bf3c1ec4c37d1ffe29402f5d6d442aabbccd024.tar.gz
freebsd-ports-gnome-7bf3c1ec4c37d1ffe29402f5d6d442aabbccd024.tar.zst
freebsd-ports-gnome-7bf3c1ec4c37d1ffe29402f5d6d442aabbccd024.zip
Unbreak packaging for ruby 1.8.
Diffstat (limited to 'lang')
-rw-r--r--lang/ruby-tcltklib/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/ruby-tcltklib/Makefile b/lang/ruby-tcltklib/Makefile
index 7da3f9332cd9..24d114ebac38 100644
--- a/lang/ruby-tcltklib/Makefile
+++ b/lang/ruby-tcltklib/Makefile
@@ -51,6 +51,10 @@ TK_DIR= `echo "${TK_LIB}" | ${SED} 's/\([0-9]\)\([0-9]\)/\1.\2/'`
.include <bsd.port.pre.mk>
+.if ${RUBY_VER} >= 1.7
+MAKE_ARGS= sitelibdir='$$(rubylibdir)'
+.endif
+
.if defined(PKGNAMEPREFIX)
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${RUBY_PKGNAMEPREFIX}
.else