From 8953cbcff73cad6d3bcd77f22e5012ab28617645 Mon Sep 17 00:00:00 2001 From: Torsten Veller Date: Sat, 19 Sep 2009 09:33:57 +0000 Subject: Don't run IPv6 tests if USE=-ipv6 (Portage version: 2.2_rc40/cvs/Linux x86_64) --- dev-perl/Net-DNS/ChangeLog | 7 +++++-- dev-perl/Net-DNS/Net-DNS-0.65.ebuild | 17 ++++++++++++++--- 2 files changed, 19 insertions(+), 5 deletions(-) (limited to 'dev-perl/Net-DNS') 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 Net-DNS-0.65.ebuild: + Don't run IPv6 tests if USE=-ipv6 02 May 2009; Torsten Veller -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" +} -- cgit v1.2.3-65-gdbad