dev-libs/expat: Make use of shipped pre-compiled man page
authorSebastian Pipping <sping@gentoo.org>
Sat, 14 Sep 2019 18:38:29 +0000 (20:38 +0200)
committerSebastian Pipping <sping@gentoo.org>
Sat, 14 Sep 2019 18:38:39 +0000 (20:38 +0200)
Bug: https://bugs.gentoo.org/694362
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Package-Manager: Portage-2.3.68, Repoman-2.3.16

dev-libs/expat/expat-2.2.8.ebuild

index 6687e2ce1224bbdc8e12a8a0565232e6189f59eb..4c97d529c66a83dd1a24492cffb0eaba1f480e77 100644 (file)
@@ -12,9 +12,8 @@ SRC_URI="https://github.com/libexpat/libexpat/releases/download/R_${PV//\./_}/ex
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
-IUSE="doc elibc_FreeBSD examples static-libs unicode"
-BDEPEND="doc? ( app-text/docbook2X )
-       unicode? ( ${AUTOTOOLS_DEPEND} )"
+IUSE="elibc_FreeBSD examples static-libs unicode"
+BDEPEND="unicode? ( ${AUTOTOOLS_DEPEND} )"
 
 DOCS=( README.md )
 
@@ -37,7 +36,7 @@ src_prepare() {
 }
 
 multilib_src_configure() {
-       local myconf="$(use_enable static-libs static) $(use_with doc docbook)"
+       local myconf="$(use_enable static-libs static) --without-docbook"
 
        mkdir -p "${BUILD_DIR}"w || die
 
@@ -84,6 +83,8 @@ multilib_src_install() {
 multilib_src_install_all() {
        einstalldocs
 
+       doman doc/xmlwf.1
+
        # Note: Use of HTML_DOCS would add unwanted "doc" subfolder
        docinto html
        dodoc doc/*.{css,html,png}