aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.ruby.mk
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2016-12-27 03:00:05 +0800
committerswills <swills@FreeBSD.org>2016-12-27 03:00:05 +0800
commita4a7f11fac63b326e978d87c154970844a80b462 (patch)
tree7cecfa71aa3e7dce86fb9f492e04909f883e098a /Mk/bsd.ruby.mk
parent7c127bab959e775cfdb71e846b006e8d65763adf (diff)
downloadfreebsd-ports-gnome-a4a7f11fac63b326e978d87c154970844a80b462.tar.gz
freebsd-ports-gnome-a4a7f11fac63b326e978d87c154970844a80b462.tar.zst
freebsd-ports-gnome-a4a7f11fac63b326e978d87c154970844a80b462.zip
Add Ruby 2.4.0
While here, remove local patches that are no longer needed and simplify post-patch target.
Diffstat (limited to 'Mk/bsd.ruby.mk')
-rw-r--r--Mk/bsd.ruby.mk13
1 files changed, 12 insertions, 1 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index 06c6b8e1ff81..76d7de61df44 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -180,13 +180,23 @@ RUBY_PORTEPOCH= 1
RUBY_PATCHLEVEL= 0
RUBY23= "" # PLIST_SUB helpers
+. elif ${RUBY_VER} == 2.4
+#
+# Ruby 2.4
+#
+RUBY_RELVERSION= 2.4.0
+RUBY_PORTREVISION= 0
+RUBY_PORTEPOCH= 1
+RUBY_PATCHLEVEL= 0
+RUBY24= "" # PLIST_SUB helpers
+
# When adding a version, please keep the comment in
# Mk/bsd.default-versions.mk in sync.
. else
#
# Other versions
#
-IGNORE= Only ruby 2.1, 2.2 and 2.3 are supported
+IGNORE= Only ruby 2.1, 2.2, 2.3 and 2.4 are supported
_INVALID_RUBY_VER= 1
. endif
.endif # defined(RUBY_VER)
@@ -196,6 +206,7 @@ _INVALID_RUBY_VER= 1
RUBY21?= "@comment "
RUBY22?= "@comment "
RUBY23?= "@comment "
+RUBY24?= "@comment "
.if defined(BROKEN_RUBY${RUBY_VER:R}${RUBY_VER:E})
.if ${BROKEN_RUBY${RUBY_VER:R}${RUBY_VER:E}} == "yes"