aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2001-09-18 01:51:29 +0800
committerknu <knu@FreeBSD.org>2001-09-18 01:51:29 +0800
commit5a47fa472a9af626731ae9d4f2b80581f7baf1df (patch)
treecc8aee19b412254346e576d73736ec52975351ab
parent40afabe4f1e4b612f7291922ff0aaa50d398d3d0 (diff)
downloadfreebsd-ports-gnome-5a47fa472a9af626731ae9d4f2b80581f7baf1df.tar.gz
freebsd-ports-gnome-5a47fa472a9af626731ae9d4f2b80581f7baf1df.tar.zst
freebsd-ports-gnome-5a47fa472a9af626731ae9d4f2b80581f7baf1df.zip
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
-rw-r--r--Mk/bsd.ruby.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index 3ae15c2877da..e383fecf5f43 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