dev-libs/xapian-bindings: fix bug #579412

Package-Manager: portage-2.2.26
This commit is contained in:
Anthony G. Basile
2016-04-14 19:30:04 -04:00
parent 187669684e
commit ac43fa57c8
2 changed files with 18 additions and 6 deletions

View File

@@ -0,0 +1,14 @@
--- perl/Makefile.am.orig 2016-04-14 19:05:30.879298356 -0400
+++ perl/Makefile.am 2016-04-14 19:05:37.907298474 -0400
@@ -168,10 +168,10 @@
endif
MAINTAINERCLEANFILES = $(BUILT_SOURCES)
+if DOCUMENTATION_RULES
docdatadir = $(docdir)/perl
docdata_DATA = docs/index.html
-if DOCUMENTATION_RULES
BUILT_SOURCES += docs/index.html
docs/index.html: Xapian.pm

View File

@@ -56,14 +56,11 @@ pkg_setup() {
src_prepare() {
use java && java-pkg-opt-2_src_prepare
if use python; then
sed \
-e 's|\(^xapian/__init__.py: modern/xapian.py\)|\1 xapian/_xapian$(PYTHON_SO)|' \
-i python/Makefile.in || die "sed failed"
fi
# http://trac.xapian.org/ticket/702
export XAPIAN_CONFIG="/usr/bin/xapian-config"
# Fix bug #579412 - requires re-automaking
epatch "${FILESDIR}"/${P}-fix-perl-doc.patch
eautoreconf
}
@@ -82,6 +79,7 @@ src_configure() {
fi
econf \
--disable-documentation \
$(use_with java) \
$(use_with lua) \
--without-csharp \