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
commite5f862c052aede35ebb7e8720227a809ddc183be (patch)
treeac973434a72ef7f0ca591a77e7730c06e75e0333 /media-gfx
parentrepoman test (diff)
downloadhistorical-e5f862c052aede35ebb7e8720227a809ddc183be.tar.gz
historical-e5f862c052aede35ebb7e8720227a809ddc183be.tar.bz2
historical-e5f862c052aede35ebb7e8720227a809ddc183be.zip
Fixes bug 18970
Diffstat (limited to 'media-gfx')
-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