1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00

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.
This commit is contained in:
Akinori MUSHA 2003-01-11 12:13:05 +00:00
parent 7044ad815c
commit c0f1f98958
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=72896

View File

@ -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}