summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-06-27 10:03:44 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-06-27 10:03:44 +0000
commitf00e6ffd050eb13b622fafcc5e5dcee5676f44f1 (patch)
tree9778a7fcfc6696bb6e0d7c26c9e3310a2bf6d28f /media-gfx
parentx86 stable, bug 322791 (diff)
downloadgentoo-2-f00e6ffd050eb13b622fafcc5e5dcee5676f44f1.tar.gz
gentoo-2-f00e6ffd050eb13b622fafcc5e5dcee5676f44f1.tar.bz2
gentoo-2-f00e6ffd050eb13b622fafcc5e5dcee5676f44f1.zip
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)
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/feh/ChangeLog6
-rw-r--r--media-gfx/feh/feh-1.8.ebuild8
2 files changed, 12 insertions, 2 deletions
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 <ssuominen@gentoo.org> 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 <ssuominen@gentoo.org> 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