From 5a47fa472a9af626731ae9d4f2b80581f7baf1df Mon Sep 17 00:00:00 2001 From: knu Date: Mon, 17 Sep 2001 17:51:29 +0000 Subject: 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 --- Mk/bsd.ruby.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Mk/bsd.ruby.mk') diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk index 3ae15c2877d..e383fecf5f4 100644 --- a/Mk/bsd.ruby.mk +++ b/Mk/bsd.ruby.mk @@ -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 -- cgit