diff options
author | taca <taca> | 2012-09-16 15:23:12 +0000 |
---|---|---|
committer | taca <taca> | 2012-09-16 15:23:12 +0000 |
commit | 3c8bb4314210d7a2412dcdaa93c7809a733822bd (patch) | |
tree | f82439c1e44f460e288ed0ffd927c6f4924fd6d0 /lang | |
parent | 8400f31e33cf8f15706d60fc12f8131d25ce1896 (diff) | |
download | pkgsrc-3c8bb4314210d7a2412dcdaa93c7809a733822bd.tar.gz |
Remove support of ruby19 (Ruby 1.9.2).
Diffstat (limited to 'lang')
-rw-r--r-- | lang/ruby/Makefile | 4 | ||||
-rw-r--r-- | lang/ruby/gem.mk | 9 |
2 files changed, 4 insertions, 9 deletions
diff --git a/lang/ruby/Makefile b/lang/ruby/Makefile index aa4dd2fcb46..312a21c06db 100644 --- a/lang/ruby/Makefile +++ b/lang/ruby/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.50 2011/11/08 15:20:12 taca Exp $ +# $NetBSD: Makefile,v 1.51 2012/09/16 15:24:18 taca Exp $ DISTNAME= # empty PKGNAME= ruby-${RUBY_VERSION_FULL} @@ -25,7 +25,7 @@ DEPENDS+= ${RUBY_PKGPREFIX}-base>=${RUBY_VERSION}:../../lang/${RUBY_PKGPREFIX}-b RUBY_COMMANDS= erb irb ruby testrb .if ${RUBY_VER} == "18" RUBY_COMMANDS+= h2rb -.elif ${RUBY_VER} == "19" || ${RUBY_VER} == "193" +.elif ${RUBY_VER} == "193" RUBY_COMMANDS+= gem rake .endif diff --git a/lang/ruby/gem.mk b/lang/ruby/gem.mk index 33f6591303d..1cd6172674f 100644 --- a/lang/ruby/gem.mk +++ b/lang/ruby/gem.mk @@ -1,4 +1,4 @@ -# $NetBSD: gem.mk,v 1.14 2012/03/20 06:14:30 taca Exp $ +# $NetBSD: gem.mk,v 1.15 2012/09/16 15:23:12 taca Exp $ # # This Makefile fragment is intended to be included by packages that build # and install Ruby gems. @@ -9,7 +9,6 @@ # Minimum version of required rubygems. Ruby base packages contain: # # ruby18-base: none -# ruby19-base: 1.3.7 # ruby193-base: 1.8.11 # # If newer version of rubygems is resuiqred, set RUBYGEMS_REQD to @@ -166,16 +165,12 @@ DEPENDS+= ${RUBY_PKGPREFIX}-rubygems>=1.0.1:../../misc/rubygems .else # !ruby18 . if defined(RUBYGEMS_REQD) -RUBY19_RUBYGEMS_VERS= 1.3.7 RUBY193_RUBYGEMS_VERS= 1.8.11 _RUBYGEMS_REQD_MAJOR= ${RUBYGEMS_REQD:C/\.[0-9\.]+$//} _RUBYGEMS_REQD_MINORS= ${RUBYGEMS_REQD:C/^([0-9]+)\.*//} -. if ${RUBY_VER} == "19" -_RUBYGEMS_MAJOR= ${RUBY19_RUBYGEMS_VERS:C/\.[0-9\.]+$//} -_RUBYGEMS_MINORS= ${RUBY19_RUBYGEMS_VERS:C/^([0-9]+)\.*//} -. elif ${RUBY_VER} == "193" +. if ${RUBY_VER} == "193" _RUBYGEMS_MAJOR= ${RUBY193_RUBYGEMS_VERS:C/\.[0-9\.]+$//} _RUBYGEMS_MINORS= ${RUBY193_RUBYGEMS_VERS:C/^([0-9]+)\.*//} . else |