aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.ruby.mk
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-04-12 16:57:17 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-04-12 16:57:17 +0000
commite2f7f68b825f24c1e407b7dd78dc8a1be386ee9a (patch)
tree71fc181c4b110791d547b501a8429fe70fa8f583 /Mk/bsd.ruby.mk
parent07744c21f18d04b3a21d186c91126fd0209c4a57 (diff)
downloadports-e2f7f68b825f24c1e407b7dd78dc8a1be386ee9a.tar.gz
ports-e2f7f68b825f24c1e407b7dd78dc8a1be386ee9a.zip
Update to the latest snapshot plus a fix against malloc race issue.
(1.6.4.p1.2001.04.11) This does not build on the very latest CURRENT due to the newly updated libreadline, but the problem will soon be fixed.
Notes
Notes: svn path=/head/; revision=41322
Diffstat (limited to 'Mk/bsd.ruby.mk')
-rw-r--r--Mk/bsd.ruby.mk19
1 files changed, 9 insertions, 10 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index 58ad303aff2c..572d2eb9ee5b 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -38,6 +38,9 @@ Ruby_Include_MAINTAINER= knu@FreeBSD.org
# RUBY_VERSION_CODE - Full integer version of ruby without preview/beta suffix in the form of `xyz'.
# RUBY_PORTVERSION - PORTVERSION for the standard ruby ports (ruby, ruby-gdbm, etc.).
# RUBY_DISTNAME - DISTNAME for the standard ruby ports, i.e. the basename of the ruby distribution tarball.
+# RUBY_DISTVERSION - The version number part of RUBY_DISTNAME.
+# RUBY_DISTVER - Same as RUBY_DISTVERSION, but converted into PORTVERSION style (preview -> .p etc.)
+# RUBY_SNAPSHOTVERSION - Snapshot version. Mostly it is a date.
# RUBY_WRKSRC - WRKSRC for the ruby port.
#
# RUBY_SHLIBVER - Major version of libruby (see below for current value).
@@ -96,21 +99,17 @@ RUBY_VERSION?= 1.6.4
RUBY_SUFFIX?= # empty
.endif
-RUBY_SNAPSHOTVERSION= preview1
-RUBY_SNAPSHOTVER= ${RUBY_SNAPSHOTVERSION:S/preview/p/}
+RUBY_DISTVERSION?= ${RUBY_VERSION}-preview1
+RUBY_SNAPSHOTVERSION?= 2001.04.11
+RUBY_DISTVER= ${RUBY_DISTVERSION:S/-preview/.p/}
.if !defined(RUBY_SNAPSHOTVERSION) || empty(RUBY_SNAPSHOTVERSION)
-RUBY_PORTVERSION= ${RUBY_VERSION}
+RUBY_PORTVERSION= ${RUBY_DISTVER}
.else
-RUBY_PORTVERSION= ${RUBY_VERSION}.${RUBY_SNAPSHOTVER}
-
-.if ${RUBY_SNAPSHOTVERSION} != ${RUBY_SNAPSHOTVER}
-# preview release
-RUBY_DISTNAME?= ruby-${RUBY_VERSION}-${RUBY_SNAPSHOTVERSION}
-.endif
+RUBY_PORTVERSION= ${RUBY_DISTVER}.${RUBY_SNAPSHOTVERSION}
.endif
-RUBY_DISTNAME?= ruby-${RUBY_VERSION}
+RUBY_DISTNAME?= ruby-${RUBY_DISTVERSION}
RUBY_WRKSRC?= ${WRKDIR}/ruby-${RUBY_VERSION}