summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenedikt Boehm <hollow@gentoo.org>2008-02-03 14:15:40 +0000
committerBenedikt Boehm <hollow@gentoo.org>2008-02-03 14:15:40 +0000
commit6bb1b4baf05c97b35ab1aa0838e4ecee00e23a8b (patch)
tree7c12bee792ea7f87aeeab7d98b11124bb9375528 /dev-perl/HTML-Mason/HTML-Mason-1.32.ebuild
parentdo not hardcode USE flag for optional apache support (diff)
downloadhistorical-6bb1b4baf05c97b35ab1aa0838e4ecee00e23a8b.tar.gz
historical-6bb1b4baf05c97b35ab1aa0838e4ecee00e23a8b.tar.bz2
historical-6bb1b4baf05c97b35ab1aa0838e4ecee00e23a8b.zip
use depend.apache eclass wrt #208033
Package-Manager: portage-2.1.4
Diffstat (limited to 'dev-perl/HTML-Mason/HTML-Mason-1.32.ebuild')
-rw-r--r--dev-perl/HTML-Mason/HTML-Mason-1.32.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/dev-perl/HTML-Mason/HTML-Mason-1.32.ebuild b/dev-perl/HTML-Mason/HTML-Mason-1.32.ebuild
index a564b2df9bdb..46d6c7968ff0 100644
--- a/dev-perl/HTML-Mason/HTML-Mason-1.32.ebuild
+++ b/dev-perl/HTML-Mason/HTML-Mason-1.32.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/HTML-Mason/HTML-Mason-1.32.ebuild,v 1.16 2007/08/19 11:42:59 hollow Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/HTML-Mason/HTML-Mason-1.32.ebuild,v 1.17 2008/02/03 14:15:40 hollow Exp $
-inherit perl-module
+inherit depend.apache perl-module
DESCRIPTION="A HTML development and delivery Perl Module"
SRC_URI="mirror://cpan/authors/id/D/DR/DROLSKY/${P}.tar.gz"
@@ -16,7 +16,6 @@ SRC_TEST="do"
DEPEND="!modperl? ( virtual/perl-CGI )
modperl? (
- >=www-servers/apache-2
www-apache/libapreq2
>=www-apache/mod_perl-2
)
@@ -29,6 +28,8 @@ DEPEND="!modperl? ( virtual/perl-CGI )
>=dev-perl/Cache-Cache-1.01
dev-lang/perl"
+want_apache2 modperl
+
mydoc="CREDITS UPGRADE"
myconf="--noprompts"
@@ -40,7 +41,7 @@ perl-module_src_prep() {
sleep 5
fi
# rendhalver - needed to set an env var for the build script so it finds our apache.
- APACHE="/usr/sbin/apache2" perl ${S}/Build.PL installdirs=vendor destdir=${D} ${myconf}
+ APACHE="${APACHE_BIN}" perl ${S}/Build.PL installdirs=vendor destdir=${D} ${myconf}
}
src_install () {