aboutsummaryrefslogtreecommitdiff
path: root/Mk
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-01-31 16:41:57 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2018-01-31 16:41:57 +0000
commit783d9dc1c50186b6e6540c49a1b75d920e0b5f52 (patch)
tree5ecc014a7b5ba2982292ec38a01c31c8da56f95a /Mk
parent570b455fc09e12abddc831a7487df67ddfdf05d1 (diff)
downloadports-783d9dc1c50186b6e6540c49a1b75d920e0b5f52.tar.gz
ports-783d9dc1c50186b6e6540c49a1b75d920e0b5f52.zip
Notes
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.ruby.mk16
1 files changed, 2 insertions, 14 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index 59ef0ca9c3f3..ac4fd91ed3ad 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -150,17 +150,7 @@ RUBY?= ${LOCALBASE}/bin/${RUBY_NAME}
.if defined(RUBY_VER)
# When adding a version, please keep the comment in
# Mk/bsd.default-versions.mk in sync.
-. if ${RUBY_VER} == 2.2
-#
-# Ruby 2.2
-#
-RUBY_RELVERSION= 2.2.9
-RUBY_PORTREVISION= 0
-RUBY_PORTEPOCH= 1
-RUBY_PATCHLEVEL= 0
-RUBY22= "" # PLIST_SUB helpers
-
-. elif ${RUBY_VER} == 2.3
+. if ${RUBY_VER} == 2.3
#
# Ruby 2.3
#
@@ -196,14 +186,13 @@ RUBY25= "" # PLIST_SUB helpers
#
# Other versions
#
-IGNORE= Only ruby 2.2, 2.3, 2.4 and 2.5 are supported
+IGNORE= Only ruby 2.3, 2.4 and 2.5 are supported
_INVALID_RUBY_VER= 1
. endif
.endif # defined(RUBY_VER)
.if !defined(_INVALID_RUBY_VER)
-RUBY22?= "@comment "
RUBY23?= "@comment "
RUBY24?= "@comment "
RUBY25?= "@comment "
@@ -321,7 +310,6 @@ PLIST_SUB+= ${PLIST_RUBY_DIRS:C,DIR="(${LOCALBASE}|${PREFIX})/,DIR=",} \
RUBY_SUFFIX="${RUBY_SUFFIX}" \
RUBY_NAME="${RUBY_NAME}" \
RUBY_DEFAULT_SUFFIX="${RUBY_DEFAULT_SUFFIX}" \
- RUBY22=${RUBY22} \
RUBY23=${RUBY23} \
RUBY24=${RUBY24} \
RUBY25=${RUBY25}