Package-Manager: portage-2.2.26
--- /dev/null
+--- 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
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
}
fi
econf \
+ --disable-documentation \
$(use_with java) \
$(use_with lua) \
--without-csharp \