aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.ruby.mk
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-01-11 12:13:05 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-01-11 12:13:05 +0000
commitc0f1f9895859e3350f2093a1c1b0fe3f65c3f10a (patch)
treee493084646e62efc978310eae0f8df1710111988 /Mk/bsd.ruby.mk
parent7044ad815c4a74f0fa09c4c5847055f2cf250313 (diff)
downloadports-c0f1f9895859e3350f2093a1c1b0fe3f65c3f10a.tar.gz
ports-c0f1f9895859e3350f2093a1c1b0fe3f65c3f10a.zip
Notes
Diffstat (limited to 'Mk/bsd.ruby.mk')
-rw-r--r--Mk/bsd.ruby.mk15
1 files changed, 7 insertions, 8 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index 3dc686a3ec75..e58ca1f82e7c 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -96,9 +96,13 @@ Ruby_Include_MAINTAINER= knu@FreeBSD.org
# RUBY_ELISPDIR - Installation path for emacs lisp files.
#
-#.if ${ARCH} == alpha || ${ARCH} == sparc64
-#RUBY_VER?= 1.8
-#.endif
+.if ${ARCH} == alpha || ${ARCH} == sparc64 || ${ARCH} == ia64
+RUBY_DEFAULT_VER?= 1.8
+.else
+RUBY_DEFAULT_VER?= 1.6
+.endif
+
+RUBY_VER?= ${RUBY_DEFAULT_VER}
.if defined(RUBY)
.if !exists(${RUBY})
@@ -151,11 +155,6 @@ _RUBY_SITEDIR?= ${_RUBY_SYSLIBDIR}/ruby/site_ruby
.endif
# defined(RUBY)
-#.if ${ARCH} == alpha || ${ARCH} == sparc64
-#RUBY_DEFAULT_VER?= 1.8
-#.else
-RUBY_DEFAULT_VER?= 1.6
-#.endif
RUBY_DEFAULT_SUFFIX?= ${RUBY_DEFAULT_VER:S/.//}
RUBY_DISTVERSION?= ${RUBY_VERSION}