diff options
author | sunpoet <sunpoet@FreeBSD.org> | 2017-05-03 05:51:52 +0800 |
---|---|---|
committer | sunpoet <sunpoet@FreeBSD.org> | 2017-05-03 05:51:52 +0800 |
commit | 4b99367d2af6672c19708d66efd939fbc61e0bcb (patch) | |
tree | 3a4f26837d0628996817f6a8def0ac48cb6e2d0c /Mk/bsd.ruby.mk | |
parent | 620ab1d2412337225825ad9b84a3b66e8c43b9b3 (diff) | |
download | freebsd-ports-gnome-4b99367d2af6672c19708d66efd939fbc61e0bcb.tar.gz freebsd-ports-gnome-4b99367d2af6672c19708d66efd939fbc61e0bcb.tar.zst freebsd-ports-gnome-4b99367d2af6672c19708d66efd939fbc61e0bcb.zip |
Remove lang/ruby21: upstream support ended
Diffstat (limited to 'Mk/bsd.ruby.mk')
-rw-r--r-- | Mk/bsd.ruby.mk | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/Mk/bsd.ruby.mk b/Mk/bsd.ruby.mk index 2cef6ab95cb6..9252ffb03581 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.1" if you want to refer to "ruby21" +# RUBY_DEFAULT_VER - Set to (e.g.) "2.4" if you want to refer to "ruby24" # just as "ruby". # RUBY_ARCH - (See below) # @@ -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.1 -# -# Ruby 2.1 -# -RUBY_RELVERSION= 2.1.10 -RUBY_PORTREVISION= 1 -RUBY_PORTEPOCH= 1 -RUBY_PATCHLEVEL= 0 -RUBY21= "" # PLIST_SUB helpers - -. elif ${RUBY_VER} == 2.2 +. if ${RUBY_VER} == 2.2 # # Ruby 2.2 # @@ -196,14 +186,13 @@ RUBY24= "" # PLIST_SUB helpers # # Other versions # -IGNORE= Only ruby 2.1, 2.2, 2.3 and 2.4 are supported +IGNORE= Only ruby 2.2, 2.3 and 2.4 are supported _INVALID_RUBY_VER= 1 . endif .endif # defined(RUBY_VER) .if !defined(_INVALID_RUBY_VER) -RUBY21?= "@comment " RUBY22?= "@comment " RUBY23?= "@comment " RUBY24?= "@comment " @@ -319,7 +308,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}" \ - RUBY21=${RUBY21} \ RUBY22=${RUBY22} \ RUBY23=${RUBY23} \ RUBY24=${RUBY24} |