From f00e6ffd050eb13b622fafcc5e5dcee5676f44f1 Mon Sep 17 00:00:00 2001 From: Samuli Suominen Date: Sun, 27 Jun 2010 10:03:44 +0000 Subject: Run testsuite only if perl is at least 5.10 wrt #325531 (Comment #5) by Christian Faulhammer. (Portage version: 2.2_rc67/cvs/Linux x86_64) --- media-gfx/feh/ChangeLog | 6 +++++- media-gfx/feh/feh-1.8.ebuild | 8 +++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'media-gfx') diff --git a/media-gfx/feh/ChangeLog b/media-gfx/feh/ChangeLog index 7e06d4c30160..5c01d36cd98a 100644 --- a/media-gfx/feh/ChangeLog +++ b/media-gfx/feh/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/feh # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/ChangeLog,v 1.48 2010/06/27 00:14:10 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/ChangeLog,v 1.49 2010/06/27 10:03:44 ssuominen Exp $ + + 27 Jun 2010; Samuli Suominen feh-1.8.ebuild: + Run testsuite only if perl is at least 5.10 wrt #325531 (Comment #5) by + Christian Faulhammer. 27 Jun 2010; Samuli Suominen feh-1.8.ebuild: Missing dev-perl/Test-Command DEPEND for FEATURES="test" wrt #325781 by diff --git a/media-gfx/feh/feh-1.8.ebuild b/media-gfx/feh/feh-1.8.ebuild index 8b989cdeaab3..4f25e7f45e02 100644 --- a/media-gfx/feh/feh-1.8.ebuild +++ b/media-gfx/feh/feh-1.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/feh-1.8.ebuild,v 1.3 2010/06/27 00:14:10 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/feh/feh-1.8.ebuild,v 1.4 2010/06/27 10:03:44 ssuominen Exp $ EAPI=2 inherit toolchain-funcs @@ -45,6 +45,12 @@ src_compile() { emake "${fehopts[@]}" || die } +src_test() { + if has_version ">=dev-lang/perl-5.10"; then + emake test || die + fi +} + src_install() { emake "${fehopts[@]}" install || die prepalldocs -- cgit v1.2.3-65-gdbad