diff options
author | swills <swills@FreeBSD.org> | 2016-02-02 09:26:00 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2016-02-02 09:26:00 +0800 |
commit | 41dd803aa487eb9720044642fb924fbd3fc8afe0 (patch) | |
tree | 197c775b771faa67e07ad1b24f3359127636bc61 /databases/ruby-bdb | |
parent | 09d29507edd69b111c4172978457bc34bb8a929a (diff) | |
download | freebsd-ports-gnome-41dd803aa487eb9720044642fb924fbd3fc8afe0.tar.gz freebsd-ports-gnome-41dd803aa487eb9720044642fb924fbd3fc8afe0.tar.zst freebsd-ports-gnome-41dd803aa487eb9720044642fb924fbd3fc8afe0.zip |
databases/ruby-bdb: fix build with Ruby 2.3
PR: 206232
Submitted by: Yasuhiro KIMURA <yasu@utahime.org>
Diffstat (limited to 'databases/ruby-bdb')
-rw-r--r-- | databases/ruby-bdb/Makefile | 8 | ||||
-rw-r--r-- | databases/ruby-bdb/files/patch-src-features.rb (renamed from databases/ruby-bdb/files/extra-patch-src-features.rb) | 0 |
2 files changed, 1 insertions, 7 deletions
diff --git a/databases/ruby-bdb/Makefile b/databases/ruby-bdb/Makefile index 0b6ecc509bd9..0bc8dc1bac08 100644 --- a/databases/ruby-bdb/Makefile +++ b/databases/ruby-bdb/Makefile @@ -21,8 +21,6 @@ USE_BDB= yes OPTIONS_DEFINE= DOCS EXAMPLES -BROKEN_RUBY23= yes - USE_RUBY= yes USE_RUBY_EXTCONF= yes USE_RUBY_RDOC= yes @@ -59,10 +57,6 @@ SHEBANG_FILES= examples/record.rb \ .include <bsd.port.pre.mk> -.if ${RUBY_VER} >= 2.0 -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-features.rb -.endif - .if ${RUBY_VER} >= 2.1 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-bdbxml2-bdbxml.h .endif @@ -71,7 +65,7 @@ EXTRA_PATCHES+= ${FILESDIR}/extra-patch-bdbxml2-bdbxml.h EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-common.c-21 .endif -.if ${RUBY_VER} == 2.2 +.if ${RUBY_VER} >= 2.2 EXTRA_PATCHES+= ${FILESDIR}/extra-patch-src-common.c-22 \ ${FILESDIR}/extra-patch-src-recnum.c-22 \ ${FILESDIR}/extra-patch-src-cursor.c-22 diff --git a/databases/ruby-bdb/files/extra-patch-src-features.rb b/databases/ruby-bdb/files/patch-src-features.rb index 6d894c93f8a4..6d894c93f8a4 100644 --- a/databases/ruby-bdb/files/extra-patch-src-features.rb +++ b/databases/ruby-bdb/files/patch-src-features.rb |