summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Veller <tove@gentoo.org>2009-09-19 09:33:57 +0000
committerTorsten Veller <tove@gentoo.org>2009-09-19 09:33:57 +0000
commit8953cbcff73cad6d3bcd77f22e5012ab28617645 (patch)
tree80761c38b9711251f4dbd6b890fd02ee190629cb /dev-perl/Net-DNS
parentx11-proto/scrnsaverproto: bump to 1.2.0 (diff)
downloadgentoo-2-8953cbcff73cad6d3bcd77f22e5012ab28617645.tar.gz
gentoo-2-8953cbcff73cad6d3bcd77f22e5012ab28617645.tar.bz2
gentoo-2-8953cbcff73cad6d3bcd77f22e5012ab28617645.zip
Don't run IPv6 tests if USE=-ipv6
(Portage version: 2.2_rc40/cvs/Linux x86_64)
Diffstat (limited to 'dev-perl/Net-DNS')
-rw-r--r--dev-perl/Net-DNS/ChangeLog7
-rw-r--r--dev-perl/Net-DNS/Net-DNS-0.65.ebuild17
2 files changed, 19 insertions, 5 deletions
diff --git a/dev-perl/Net-DNS/ChangeLog b/dev-perl/Net-DNS/ChangeLog
index 21936f3acc26..c3d16cecaa89 100644
--- a/dev-perl/Net-DNS/ChangeLog
+++ b/dev-perl/Net-DNS/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-perl/Net-DNS
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-DNS/ChangeLog,v 1.133 2009/05/02 11:05:38 tove Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-DNS/ChangeLog,v 1.134 2009/09/19 09:33:57 tove Exp $
+
+ 19 Sep 2009; Torsten Veller <tove@gentoo.org> Net-DNS-0.65.ebuild:
+ Don't run IPv6 tests if USE=-ipv6
02 May 2009; Torsten Veller <tove@gentoo.org> -Net-DNS-0.61.ebuild,
-Net-DNS-0.64.ebuild:
diff --git a/dev-perl/Net-DNS/Net-DNS-0.65.ebuild b/dev-perl/Net-DNS/Net-DNS-0.65.ebuild
index 1fe25d5a19f3..56ccd0756d6b 100644
--- a/dev-perl/Net-DNS/Net-DNS-0.65.ebuild
+++ b/dev-perl/Net-DNS/Net-DNS-0.65.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-DNS/Net-DNS-0.65.ebuild,v 1.1 2009/01/27 10:15:12 tove Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-perl/Net-DNS/Net-DNS-0.65.ebuild,v 1.2 2009/09/19 09:33:57 tove Exp $
+
+EAPI=2
MODULE_AUTHOR=OLAF
inherit perl-module
@@ -23,5 +25,14 @@ DEPEND="${RDEPEND}
dev-perl/Test-Pod )"
SRC_TEST="do"
-mydoc="TODO"
-myconf="--no-online-tests"
+
+src_prepare() {
+ perl-module_src_prepare
+ mydoc="TODO"
+ if use ipv6 ; then
+ myconf="--IPv6-tests"
+ else
+ myconf="--no-IPv6-tests"
+ fi
+ myconf="${myconf} --no-online-tests"
+}