summaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-09-17 17:51:29 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-09-17 17:51:29 +0000
commit67bb8db263f86de3c01b4945c626aab3163552be (patch)
treeee4b4ce4fa34e64edf0226bda8d1dd260a9de042 /Mk
parentRemove jseger and torstenb from maintainership of their ports, they (diff)
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')
-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