summaryrefslogtreecommitdiff
path: root/Mk/bsd.ruby.mk
diff options
context:
space:
mode:
Diffstat (limited to 'Mk/bsd.ruby.mk')
-rw-r--r--Mk/bsd.ruby.mk31
1 files changed, 3 insertions, 28 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk
index f6f4cfa790de..cd6873385907 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.) "1.9" if you want to refer to "ruby19"
+# RUBY_DEFAULT_VER - Set to (e.g.) "2.0" if you want to refer to "ruby20"
# just as "ruby".
# RUBY_ARCH - (See below)
# RUBY_RD_HTML - Define if you want HTML files generated from RD files.
@@ -172,17 +172,7 @@ _RUBY_VENDORDIR!= ${_RUBY_CONFIG} 'puts C["vendordir"]'
RUBY?= ${LOCALBASE}/bin/${RUBY_NAME}
.if defined(RUBY_VER)
-. if ${RUBY_VER} == 1.9
-#
-# Ruby 1.9
-#
-RUBY_RELVERSION= 1.9.3
-RUBY_PORTREVISION= 2
-RUBY_PORTEPOCH= 1
-RUBY_PATCHLEVEL= 551
-RUBY19= "" # PLIST_SUB helpers
-
-. elif ${RUBY_VER} == 2.0
+. if ${RUBY_VER} == 2.0
#
# Ruby 2.0
#
@@ -216,11 +206,10 @@ RUBY22= "" # PLIST_SUB helpers
#
# Other versions
#
-IGNORE= Only ruby 1.9, 2.0, 2.1 and 2.2 are supported
+IGNORE= Only ruby 2.0, 2.1 and 2.2 are supported
. endif
.endif # defined(RUBY_VER)
-RUBY19?= "@comment "
RUBY20?= "@comment "
RUBY21?= "@comment "
RUBY22?= "@comment "
@@ -352,7 +341,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}" \
- RUBY19=${RUBY19} \
RUBY20=${RUBY20} \
RUBY21=${RUBY21} \
RUBY22=${RUBY22}
@@ -581,19 +569,6 @@ RUN_DEPENDS+= ${DEPEND_RUBY}
.endif
.endif
-.if defined(USE_RUBY_FEATURES)
-
-_use= ${USE_RUBY_FEATURES:Miconv}
-.if !empty(_use)
-.if (${RUBY_VER} == 1.9)
-BUILD_DEPENDS+= ${DEPEND_RUBY_ICONV}
-RUN_DEPENDS+= ${DEPEND_RUBY_ICONV}
-.endif
-.endif
-
-.undef _use
-.endif
-
.if defined(USE_RAKE)
BUILD_DEPENDS+= ${LOCALBASE}/bin/rake:${PORTSDIR}/devel/rubygem-rake
RAKE_BIN= ${LOCALBASE}/bin/rake