diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2016-05-14 13:59:30 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2016-05-14 13:59:47 -0400 |
commit | 517e71a4480460f13ca2283a9adfac6b0f1f0182 (patch) | |
tree | 7058c84d8e87d1a13c800e64e9d6d8d9ac385684 /dev-libs/xapian-bindings | |
parent | www-plugins/chrome-binary-plugins: automated update (diff) | |
download | gentoo-517e71a4480460f13ca2283a9adfac6b0f1f0182.tar.gz gentoo-517e71a4480460f13ca2283a9adfac6b0f1f0182.tar.bz2 gentoo-517e71a4480460f13ca2283a9adfac6b0f1f0182.zip |
dev-libs/xapian-bindings: allow ruby 2.0 for version 1.3.6
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-libs/xapian-bindings')
-rw-r--r-- | dev-libs/xapian-bindings/files/xapian-bindings-1.3.6-allow-ruby-2.0.patch | 12 | ||||
-rw-r--r-- | dev-libs/xapian-bindings/xapian-bindings-1.3.6.ebuild | 3 |
2 files changed, 15 insertions, 0 deletions
diff --git a/dev-libs/xapian-bindings/files/xapian-bindings-1.3.6-allow-ruby-2.0.patch b/dev-libs/xapian-bindings/files/xapian-bindings-1.3.6-allow-ruby-2.0.patch new file mode 100644 index 000000000000..7851bfe405bb --- /dev/null +++ b/dev-libs/xapian-bindings/files/xapian-bindings-1.3.6-allow-ruby-2.0.patch @@ -0,0 +1,12 @@ +diff -Naur xapian-bindings-1.3.6.orig/configure xapian-bindings-1.3.6/configure +--- xapian-bindings-1.3.6.orig/configure 2016-05-09 06:19:59.000000000 -0400 ++++ xapian-bindings-1.3.6/configure 2016-05-14 13:53:35.223526344 -0400 +@@ -18695,7 +18695,7 @@ + fi + RUBY= + ;; +- [01].*|2.0.*) ++ [01].*) + { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version (too old)" >&5 + $as_echo "$version (too old)" >&6; } + if test yes = "$with_ruby" ; then diff --git a/dev-libs/xapian-bindings/xapian-bindings-1.3.6.ebuild b/dev-libs/xapian-bindings/xapian-bindings-1.3.6.ebuild index c9d87b043311..e71fefefe1f8 100644 --- a/dev-libs/xapian-bindings/xapian-bindings-1.3.6.ebuild +++ b/dev-libs/xapian-bindings/xapian-bindings-1.3.6.ebuild @@ -61,6 +61,9 @@ src_prepare() { # http://trac.xapian.org/ticket/702 export XAPIAN_CONFIG="/usr/bin/xapian-config" + + # Accept ruby 2.0 - patch configure directly to avoid autoreconf + epatch "${FILESDIR}"/${P}-allow-ruby-2.0.patch } src_configure() { |