summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2003-04-09 13:31:41 +0000
committerLuca Barbato <lu_zero@gentoo.org>2003-04-09 13:31:41 +0000
commitf028ebc557a6d4e454c4340faf7faad05aee0e07 (patch)
tree3ea986a420a57690a883c05e1966564b4d69f11d /media-gfx/povray
parentrepoman test (diff)
downloadgentoo-2-f028ebc557a6d4e454c4340faf7faad05aee0e07.tar.gz
gentoo-2-f028ebc557a6d4e454c4340faf7faad05aee0e07.tar.bz2
gentoo-2-f028ebc557a6d4e454c4340faf7faad05aee0e07.zip
Fixes bug 18970
Diffstat (limited to 'media-gfx/povray')
-rw-r--r--media-gfx/povray/ChangeLog5
-rw-r--r--media-gfx/povray/files/digest-povray-3.50c5
-rw-r--r--media-gfx/povray/povray-3.50c.ebuild11
3 files changed, 19 insertions, 2 deletions
diff --git a/media-gfx/povray/ChangeLog b/media-gfx/povray/ChangeLog
index 515e2ea6a491..7539b3dde243 100644
--- a/media-gfx/povray/ChangeLog
+++ b/media-gfx/povray/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/povray
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/ChangeLog,v 1.20 2003/04/01 14:30:29 malverian Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/ChangeLog,v 1.21 2003/04/09 13:30:43 lu_zero Exp $
+
+ 9 Apr 2003; Luca Barbato <lu_zero@gentoo.org> povray-3.50c.ebuild:
+ Fixes bug #18970
*povray-3.50c (26 Mar 2003)
diff --git a/media-gfx/povray/files/digest-povray-3.50c b/media-gfx/povray/files/digest-povray-3.50c
index b3ba13b97cae..0e962a546145 100644
--- a/media-gfx/povray/files/digest-povray-3.50c
+++ b/media-gfx/povray/files/digest-povray-3.50c
@@ -1 +1,6 @@
+MD5 ba3f731e3c5027c2fb00332ae552e1dd /files/README.ICC-PGO 1819
+MD5 05e59113d8c2485e9c60b679e834dff2 /files/gentoo-3.50c.patch 247
+MD5 d8e13273e95d019333221aa531a33b9a /files/gentoo.patch 1829
+MD5 dc1e966ff1abdf0e308be6630c50b4d5 /files/prob-opt.sh 2582
+MD5 f92af83163712c370e82634bf7b31cbe /povray-3.50c.ebuild 3534
MD5 bac59e7a86172a5bd0c63af2516e7045 povuni_s.tgz 6602380
diff --git a/media-gfx/povray/povray-3.50c.ebuild b/media-gfx/povray/povray-3.50c.ebuild
index bea1180f85ea..89008d3da5f6 100644
--- a/media-gfx/povray/povray-3.50c.ebuild
+++ b/media-gfx/povray/povray-3.50c.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/povray-3.50c.ebuild,v 1.4 2003/04/01 14:30:29 malverian Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/povray-3.50c.ebuild,v 1.5 2003/04/09 13:30:43 lu_zero Exp $
IUSE="icc X svga"
@@ -86,6 +86,15 @@ src_compile() {
echo 's/LIBS = \(.*\)/LIBS = \1 -ldl/' >> makefile.sed
fi
+
+ # strip the x86 specific options if on non x86
+ if [ ${ARCH} != "x86" ]; then
+ echo "s/-minline-all-stringops//" >> makefile.sed
+ echo "s/-malign-double//" >> makefile.sed
+ echo "s/-mcpu=i586//" >> makefile.sed
+ echo "s/-march=i586//" >> makefile.sed
+ fi
+
cp Makefile Makefile.orig
sed -f makefile.sed Makefile.orig > Makefile