Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 115464

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 packagesAssignee: 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: ---

Description Dan Perik 2005-12-13 14:11:45 UTC
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.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-13 14:25:25 UTC
Fixed a long time ago in 1.3x

*** This bug has been marked as a duplicate of 93076 ***