summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Coie <rac@gentoo.org>2003-06-25 20:04:38 +0000
committerRobert Coie <rac@gentoo.org>2003-06-25 20:04:38 +0000
commitf645a43879e17d9f50ef48010ca0e34665b3d7b6 (patch)
tree9debafef85dfec910c8023e4072b3ec35bbf00f8 /dev-perl/mod_perl/mod_perl-1.27-r2.ebuild
parentsmall tweak (diff)
downloadhistorical-f645a43879e17d9f50ef48010ca0e34665b3d7b6.tar.gz
historical-f645a43879e17d9f50ef48010ca0e34665b3d7b6.tar.bz2
historical-f645a43879e17d9f50ef48010ca0e34665b3d7b6.zip
apply ipv6 patch more sparingly, bug 23332
Diffstat (limited to 'dev-perl/mod_perl/mod_perl-1.27-r2.ebuild')
-rw-r--r--dev-perl/mod_perl/mod_perl-1.27-r2.ebuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/dev-perl/mod_perl/mod_perl-1.27-r2.ebuild b/dev-perl/mod_perl/mod_perl-1.27-r2.ebuild
index ca235fc293fc..2f7ff74069cb 100644
--- a/dev-perl/mod_perl/mod_perl-1.27-r2.ebuild
+++ b/dev-perl/mod_perl/mod_perl-1.27-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/mod_perl/mod_perl-1.27-r2.ebuild,v 1.5 2003/06/24 20:26:08 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/mod_perl/mod_perl-1.27-r2.ebuild,v 1.6 2003/06/25 20:04:36 rac Exp $
inherit eutils
@@ -20,8 +20,7 @@ DEPEND="dev-lang/perl
src_unpack() {
unpack ${A}
- if [ "`use ipv6`" ]
- then
+ if has_version '>=apache-1.3.27-r4' && use ipv6; then
# This patch originally came from
# http://pasky.ji.cz/~pasky/dev/apache/mod_perl-1.27+ipv6.patch.
# It allows mod_perl to correctly build with an IPv6-enabled