diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2003-01-23 19:18:58 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2003-01-23 19:18:58 +0000 |
commit | 6db2765dc607d3574a715abf760bceac865d092f (patch) | |
tree | 34c95d7d37317f0614fcac916dd771b2d6014d34 /lang | |
parent | update to razor-agents-0.22 (diff) |
Unbreak packaging for ruby 1.8.
Notes
Notes:
svn path=/head/; revision=73874
Diffstat (limited to 'lang')
-rw-r--r-- | lang/ruby-tcltklib/Makefile | 4 |
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 |