summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD.M.D. Ljungmark <spider@gentoo.org>2002-03-31 20:53:17 +0000
committerD.M.D. Ljungmark <spider@gentoo.org>2002-03-31 20:53:17 +0000
commit934846ae6c115b40f882248b5609cba2c34756cb (patch)
treecda65cd71c34f69a3cb00ce6862ec35ded683a78 /media-gfx/povray/files
parentdep fixum (diff)
downloadgentoo-2-934846ae6c115b40f882248b5609cba2c34756cb.tar.gz
gentoo-2-934846ae6c115b40f882248b5609cba2c34756cb.tar.bz2
gentoo-2-934846ae6c115b40f882248b5609cba2c34756cb.zip
Adding PovRay 3.1g to portage, no linux distribution is complete without
a 3D rendering engine ;)
Diffstat (limited to 'media-gfx/povray/files')
-rw-r--r--media-gfx/povray/files/digest-povray-3.1g-r12
-rw-r--r--media-gfx/povray/files/gentoo.patch37
2 files changed, 39 insertions, 0 deletions
diff --git a/media-gfx/povray/files/digest-povray-3.1g-r1 b/media-gfx/povray/files/digest-povray-3.1g-r1
new file mode 100644
index 000000000000..e082844cf5ca
--- /dev/null
+++ b/media-gfx/povray/files/digest-povray-3.1g-r1
@@ -0,0 +1,2 @@
+MD5 dff3b8f3bc2a6dd131a9d008d0f46295 povuni_d.tgz 913748
+MD5 6da91fb1d3d48cd44f46b831760d233f povuni_s.tgz 946513
diff --git a/media-gfx/povray/files/gentoo.patch b/media-gfx/povray/files/gentoo.patch
new file mode 100644
index 000000000000..c8f9448dba55
--- /dev/null
+++ b/media-gfx/povray/files/gentoo.patch
@@ -0,0 +1,37 @@
+Only in povray31-gentoo/source/unix: config.h
+diff -urw povray31/source/unix/makefile povray31-gentoo/source/unix/makefile
+--- povray31/source/unix/makefile Mon Nov 22 02:12:37 1999
++++ povray31-gentoo/source/unix/makefile Sun Mar 10 03:40:42 2002
+@@ -53,7 +53,7 @@
+ #CFLAGS = -O6 -finline-functions -ffast-math -c -ansi -m386 -DCPU=586 -DCOMPILER_VER=\".`uname`.$(CC)\" -DPOV_LIB_DIR=\"$(POVLIBDIR)\" $(SRCINC) $(LIBPNGINC) $(ZLIBINC)
+
+ # Linux compiler flags, Pentium II optimized
+-CFLAGS = -O6 -finline-functions -ffast-math -c -ansi -m386 -DCPU=686 -DCOMPILER_VER=\".`uname`.$(CC)\" -DPOV_LIB_DIR=\"$(POVLIBDIR)\" $(SRCINC) $(LIBPNGINC) $(ZLIBINC)
++CFLAGS = -O6 -finline-functions -ffast-math -c -ansi -march=i686 -mcpu=i686 -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -malign-functions=4 -DCPU=686 -DCOMPILER_VER=\".`uname`.$(CC)\" -DPOV_LIB_DIR=\"$(POVLIBDIR)\" $(SRCINC) $(LIBPNGINC) $(ZLIBINC)
+
+ # HPUX compiler flags
+ #CFLAGS = +O2 -finline-functions -c -Aa -D_HPUX_SOURCE -DCOMPILER_VER=\".`uname`.$(CC)\" $(SRCINC) $(LIBPNGINC) $(ZLIBINC)
+@@ -129,12 +129,12 @@
+ #default: svga
+
+ # Define the default POV-Ray library location
+-POVLIBDIR = /usr/local/lib/povray31
++POVLIBDIR = $(DESTDIR)/usr/lib/povray31
+
+ # Define the path under which you want POV-Ray files to be installed,
+ # typically /usr/local/bin, though Linux distributions may wish to
+ # alter this to /usr/bin
+-POVPATH = /usr/local
++POVPATH = $(DESTDIR)/usr
+
+ #----------------------------------------------------------------------
+ # There should be no compelling reason to customize the makefile beyond
+@@ -1591,7 +1591,7 @@
+ -@$(RM) $(ODIR)/svga$(OBJ) $(UTARGET) $(XTARGET) $(STARGET)
+
+ install:
+- -@cp povray.1 $(POVPATH)/man/man1
++ -@cp povray.1 $(POVPATH)/share/man/man1
+ -@if \
+ [ -x $(UTARGET) ]; \
+ then \