aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.ruby.mk
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-01-11 20:13:05 +0800
committerknu <knu@FreeBSD.org>2003-01-11 20:13:05 +0800
commit8a5eb56d151bde8693169f3176b61d530b035f7b (patch)
tree357213a59d40070dd4e47ebb785953df80c8c65f /Mk/bsd.ruby.mk
parentb1e87afaac1f94dc3c3044b8ded0b3a9f632eea5 (diff)
downloadfreebsd-ports-gnome-8a5eb56d151bde8693169f3176b61d530b035f7b.tar.gz
freebsd-ports-gnome-8a5eb56d151bde8693169f3176b61d530b035f7b.tar.zst
freebsd-ports-gnome-8a5eb56d151bde8693169f3176b61d530b035f7b.zip
Set RUBY_DEFAULT_VER to 1.8 on alpha, sparc64 and ia64. Ruby 1.6 has
some unidentified coredumping problems on these platforms and there will be no more release from the 1.6 branch.
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}