| Summary: | Patch to have HTML-Mason depend on libapreq2 vs. libapreq for use +apache2 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Dan Perik <bugs.gentoo.org> |
| Component: | Current packages | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
HTML-Mason depends on libapreq. This pulls in all sorts of apache 1 dependencies. This patch checks apache use flags and pulls in the proper libapreq/libapreq2 dependency. # diff -u /usr/portage/dev-perl/HTML-Mason/HTML-Mason-1.26.ebuild \ /usr/local/portage/dev-perl/HTML-Mason/HTML-Mason-1.26-r1.ebuild --- /usr/portage/dev-perl/HTML-Mason/HTML-Mason-1.26.ebuild 2005-12-13 16:03:16.000000000 -0600 +++ /usr/local/portage/dev-perl/HTML-Mason/HTML-Mason-1.26-r1.ebuild 2005-12-13 16:05:58.000000000 -0600 @@ -15,7 +15,8 @@ SRC_TEST="do" DEPEND="${DEPEND} - >=www-apache/libapreq-1.0-r2 + apache? ( >=www-apache/libapreq-1.0-r2 ) + apache2? ( www-apache/libapreq2 ) >=dev-perl/Params-Validate-0.24-r2 >=dev-perl/Class-Container-0.08 >=dev-perl/Exception-Class-1.14 This is a first time post, so my apologies if things aren't correct. Reproducible: Always Steps to Reproduce: 1. Add apache2 to USE flags in /etc/make.conf 2. emerge -pvt HTML-Mason 3. See that apache-1, mod_ssl, libapreq, etc. packages are pulled in. Expected Results: It should have only pulled in apache2-type dependencies.