summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Peterson <lavajoe@gentoo.org>2008-11-14 16:01:18 +0000
committerJoe Peterson <lavajoe@gentoo.org>2008-11-14 16:01:18 +0000
commitd23e77ab2efc778991c9d4608b11f0a38480f549 (patch)
tree36a6bfaad04ac90ca12d07fdb4e176fd8406ab88 /media-gfx/povray
parentRemove --as-needed filtering, add a patch for it in 0.11. (diff)
downloadgentoo-2-d23e77ab2efc778991c9d4608b11f0a38480f549.tar.gz
gentoo-2-d23e77ab2efc778991c9d4608b11f0a38480f549.tar.bz2
gentoo-2-d23e77ab2efc778991c9d4608b11f0a38480f549.zip
Fix FEATURES="test" functionality in beta releases (bug #246645)
(Portage version: 2.2_rc14/cvs/Linux 2.6.27-gentoo-r2 i686)
Diffstat (limited to 'media-gfx/povray')
-rw-r--r--media-gfx/povray/ChangeLog6
-rw-r--r--media-gfx/povray/povray-3.7.0_beta29-r1.ebuild11
2 files changed, 15 insertions, 2 deletions
diff --git a/media-gfx/povray/ChangeLog b/media-gfx/povray/ChangeLog
index c72de1688936..3262a56fa1db 100644
--- a/media-gfx/povray/ChangeLog
+++ b/media-gfx/povray/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/povray
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/ChangeLog,v 1.89 2008/11/12 17:48:29 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/ChangeLog,v 1.90 2008/11/14 16:01:18 lavajoe Exp $
+
+ 14 Nov 2008; Joe Peterson <lavajoe@gentoo.org>
+ povray-3.7.0_beta29-r1.ebuild:
+ Fix FEATURES="test" functionality in beta releases (bug #246645)
12 Nov 2008; Markus Rothe <corsair@gentoo.org> povray-3.6.1-r4.ebuild:
Stable on ppc64; bug #153538
diff --git a/media-gfx/povray/povray-3.7.0_beta29-r1.ebuild b/media-gfx/povray/povray-3.7.0_beta29-r1.ebuild
index 2da131f8b7ce..04b3d736e20f 100644
--- a/media-gfx/povray/povray-3.7.0_beta29-r1.ebuild
+++ b/media-gfx/povray/povray-3.7.0_beta29-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/povray-3.7.0_beta29-r1.ebuild,v 1.1 2008/11/08 21:45:38 lavajoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/povray-3.7.0_beta29-r1.ebuild,v 1.2 2008/11/14 16:01:18 lavajoe Exp $
inherit eutils autotools flag-o-matic versionator
@@ -51,6 +51,10 @@ src_unpack() {
sed -i -e "s:^povdocdir = .*:povdocdir = @datadir@/doc/${PF}:" Makefile.am
sed -i -e "s:^povconfdir = .*:povconfdir = @sysconfdir@/${PN}:" Makefile.am
+ # The "+p" option on the test command line causes a pause and
+ # prompts the user to interact, so remove it.
+ sed -i -e"s:biscuit.pov -f +d +p:biscuit.pov -f +d:" Makefile.am
+
eautoreconf
}
@@ -78,6 +82,11 @@ src_compile() {
emake || die
}
+src_test() {
+ # For the beta releases, we generate a license extension in case needed
+ POVRAY_BETA=`./unix/povray --betacode 2>&1` emake check || die "Test failed"
+}
+
src_install() {
emake DESTDIR="${D}" install || die
}