summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Walls <malverian@gentoo.org>2003-04-18 13:30:35 +0000
committerPhilip Walls <malverian@gentoo.org>2003-04-18 13:30:35 +0000
commitc91b42e5fb7f9a8c00978a9cd4129f1b41ea7e7a (patch)
treeb1f20bad6824bcfaa7139548635fc0e26a4ffce4 /media-gfx/povray/povray-3.50c.ebuild
parentfix #18522 (diff)
downloadhistorical-c91b42e5fb7f9a8c00978a9cd4129f1b41ea7e7a.tar.gz
historical-c91b42e5fb7f9a8c00978a9cd4129f1b41ea7e7a.tar.bz2
historical-c91b42e5fb7f9a8c00978a9cd4129f1b41ea7e7a.zip
fix #18522
Diffstat (limited to 'media-gfx/povray/povray-3.50c.ebuild')
-rw-r--r--media-gfx/povray/povray-3.50c.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/media-gfx/povray/povray-3.50c.ebuild b/media-gfx/povray/povray-3.50c.ebuild
index 89008d3da5f6..cdaa22a03b2c 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.5 2003/04/09 13:30:43 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/povray/povray-3.50c.ebuild,v 1.6 2003/04/18 13:30:25 malverian Exp $
IUSE="icc X svga"
@@ -37,9 +37,10 @@ src_compile() {
# fix system default povray.ini to point to install directory
cp povray.ini povray.ini.orig
- sed -e "s:\(/usr/\)local/\(lib\):\1share:" povray.ini.orig > povray.ini
+ sed -e "s:/usr/local/:/usr/:" povray.ini.orig > povray.ini
cd src
+
cp Makefile makefile.orig
DCPU=`echo ${CPPFLAGS} | sed -e "s/.*i\(.86\).*/\\1/"`
@@ -110,6 +111,7 @@ src_compile() {
src_install ()
{
emake DESTDIR=${D} install || die
+ mv ${D}/etc/povray.ini ${D}/usr/share/povray-3.5/
dodir /etc
dosym /usr/share/povray-3.5/povray.ini /etc/povray.ini