From: Tomas Mozes Date: Fri, 8 Mar 2019 09:35:32 +0000 (+0100) Subject: www-apache/mod_security: fix building USE=doc. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=61c02bdcbe2db4c25cb2d76291794a649a4c1ba2;p=gentoo.git www-apache/mod_security: fix building USE=doc. Patch-by: Dennis Lichtenthäler Closes: https://bugs.gentoo.org/679522 Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Tomáš Mózes Closes: https://github.com/gentoo/gentoo/pull/11296 Signed-off-by: Patrice Clement --- diff --git a/www-apache/mod_security/mod_security-2.9.3.ebuild b/www-apache/mod_security/mod_security-2.9.3.ebuild index 41cfb5afbc1e..f04a0e597d6d 100644 --- a/www-apache/mod_security/mod_security-2.9.3.ebuild +++ b/www-apache/mod_security/mod_security-2.9.3.ebuild @@ -60,19 +60,14 @@ src_configure() { $(use_enable mlogc) $(use_with lua) $(use_enable lua lua-cache) - $(use_enable jit pcre-jit) ) + $(use_enable jit pcre-jit) + $(use_enable doc docs) ) econf ${myconf[@]} } src_compile() { default - - # Building the docs is broken at the moment, see e.g. - # https://github.com/SpiderLabs/ModSecurity/issues/1322 - if use doc; then - doxygen doc/doxygen-apache.conf || die 'failed to build documentation' - fi } src_install() {