www-apache/mod_security: fix building USE=doc.
authorTomas Mozes <hydrapolic@gmail.com>
Fri, 8 Mar 2019 09:35:32 +0000 (10:35 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Sun, 10 Mar 2019 22:35:30 +0000 (23:35 +0100)
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 <hydrapolic@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/11296
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
www-apache/mod_security/mod_security-2.9.3.ebuild

index 41cfb5afbc1e41d8cffbe0c5f220bac54e237476..f04a0e597d6d2d3feea767e11d43bc5bca406622 100644 (file)
@@ -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() {