diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-05-02 21:51:52 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-05-02 21:51:52 +0000 |
commit | 09fe08d9404a2050a4b0fbfc203b0d5713bf8e9f (patch) | |
tree | 3a4f26837d0628996817f6a8def0ac48cb6e2d0c /Mk/bsd.ruby.mk | |
parent | 5b993ce09dc1465e503b9231a56acaf189a67734 (diff) | |
download | ports-09fe08d9404a2050a4b0fbfc203b0d5713bf8e9f.tar.gz ports-09fe08d9404a2050a4b0fbfc203b0d5713bf8e9f.zip |
Notes
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} |