aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorrene <rene@FreeBSD.org>2016-06-01 20:23:38 +0800
committerrene <rene@FreeBSD.org>2016-06-01 20:23:38 +0800
commit8b96d14fa5dee30edb2f7f18261d94027372de75 (patch)
tree190c34ddfe8e359dc38e00fe6eb1e3c7c1e810f2 /Mk
parentd5e86ebf0854b47911d8c843c24b15f9b8aa4abd (diff)
downloadfreebsd-ports-gnome-8b96d14fa5dee30edb2f7f18261d94027372de75.tar.gz
freebsd-ports-gnome-8b96d14fa5dee30edb2f7f18261d94027372de75.tar.zst
freebsd-ports-gnome-8b96d14fa5dee30edb2f7f18261d94027372de75.zip
Fix up Mk/bsd.ruby.mk after removing lang/ruby20
Reported by: mat via #bsdports
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.ruby.mk18
1 files changed, 3 insertions, 15 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index 559756278d77..05a1d0c7080e 100644
--- a/Mk/bsd.ruby.mk
+++ b/Mk/bsd.ruby.mk
@@ -15,7 +15,7 @@ Ruby_Include_MAINTAINER= ruby@FreeBSD.org
# [variables that a user may define]
#
# RUBY_VER - (See below)
-# RUBY_DEFAULT_VER - Set to (e.g.) "2.0" if you want to refer to "ruby20"
+# RUBY_DEFAULT_VER - Set to (e.g.) "2.1" if you want to refer to "ruby21"
# just as "ruby".
# RUBY_ARCH - (See below)
# RUBY_RD_HTML - Define if you want HTML files generated from RD files.
@@ -165,17 +165,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.0
-#
-# Ruby 2.0
-#
-RUBY_RELVERSION= 2.0.0
-RUBY_PORTREVISION= 0
-RUBY_PORTEPOCH= 1
-RUBY_PATCHLEVEL= 648
-RUBY20= "" # PLIST_SUB helpers
-
-. elif ${RUBY_VER} == 2.1
+. if ${RUBY_VER} == 2.1
#
# Ruby 2.1
#
@@ -211,14 +201,13 @@ RUBY23= "" # PLIST_SUB helpers
#
# Other versions
#
-IGNORE= Only ruby 2.0, 2.1, 2.2 and 2.3 are supported
+IGNORE= Only ruby 2.1, 2.2 and 2.3 are supported
_INVALID_RUBY_VER= 1
. endif
.endif # defined(RUBY_VER)
.if !defined(_INVALID_RUBY_VER)
-RUBY20?= "@comment "
RUBY21?= "@comment "
RUBY22?= "@comment "
RUBY23?= "@comment "
@@ -340,7 +329,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}" \
- RUBY20=${RUBY20} \
RUBY21=${RUBY21} \
RUBY22=${RUBY22} \
RUBY23=${RUBY23}