aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.ruby.mk
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 /Mk/bsd.ruby.mk
parent40afabe4f1e4b612f7291922ff0aaa50d398d3d0 (diff)
downloadfreebsd-ports-graphics-5a47fa472a9af626731ae9d4f2b80581f7baf1df.tar.gz
freebsd-ports-graphics-5a47fa472a9af626731ae9d4f2b80581f7baf1df.tar.zst
freebsd-ports-graphics-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
Diffstat (limited to 'Mk/bsd.ruby.mk')
-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 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