Stop including the OS minor version in RUBY_ARCH which is used in

ruby's architecture specific library paths, so that users do not need
to rebuild and reinstall ruby & all the modules when they minor
upgrade FreeBSD.

i.e.	i386-freebsd4.4  -> i386-freebsd4
    	alpha-freebsd5.0 -> alpha-freebsd5
This commit is contained in:
Akinori MUSHA 2001-09-17 17:51:29 +00:00
parent 5872a89c3b
commit 67bb8db263
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=47916

View File

@ -127,7 +127,7 @@ RUBY_DISTNAME?= ruby-${RUBY_DISTVERSION}
RUBY_WRKSRC?= ${WRKDIR}/${RUBY_DISTNAME}
RUBY_ARCH?= ${ARCH}-freebsd${OSREL}${RUBY_R}
RUBY_ARCH?= ${ARCH}-freebsd${OSREL:C/\..*//}${RUBY_R}
RUBY_NAME?= ruby${RUBY_SUFFIX}
_RUBY_SYSLIBDIR?= ${LOCALBASE}/lib