summaryrefslogtreecommitdiff
path: root/graphics/povray31/files/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/povray31/files/patch-ab')
-rw-r--r--graphics/povray31/files/patch-ab26
1 files changed, 20 insertions, 6 deletions
diff --git a/graphics/povray31/files/patch-ab b/graphics/povray31/files/patch-ab
index 3a924df8a9fc..c073e7ebca96 100644
--- a/graphics/povray31/files/patch-ab
+++ b/graphics/povray31/files/patch-ab
@@ -1,7 +1,21 @@
-*** source/unix/makefile.orig Tue Mar 9 12:03:02 1999
---- source/unix/makefile Tue May 11 03:42:15 1999
+*** source/unix/makefile.orig Fri Jun 18 22:52:24 1999
+--- source/unix/makefile Sat Jun 19 20:24:47 1999
***************
-*** 34,43 ****
+*** 51,57 ****
+--- 51,61 ----
+ #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
++ .if ${MACHINE_ARCH} == "i386"
+ CFLAGS = -O6 -finline-functions -ffast-math -c -ansi -m386 -DCPU=686 -DCOMPILER_VER=\".`uname`.$(CC)\" -DPOV_LIB_DIR=\"$(POVLIBDIR)\" $(SRCINC) $(LIBPNGINC) $(ZLIBINC)
++ .else
++ CFLAGS = -O6 -finline-functions -ffast-math -c -ansi -DCOMPILER_VER=\".`uname`.$(CC)\" -DPOV_LIB_DIR=\"$(POVLIBDIR)\" $(SRCINC) $(LIBPNGINC) $(ZLIBINC)
++ .endif
+
+ # HPUX compiler flags
+ #CFLAGS = +O2 -finline-functions -c -Aa -D_HPUX_SOURCE -DCOMPILER_VER=\".`uname`.$(CC)\" $(SRCINC) $(LIBPNGINC) $(ZLIBINC)
+***************
+*** 88,97 ****
# Use libXXX.a if you want to force static linking of the libraries.
# Use -Llibdir -lXXX if you want to use shared libraries (if they are
# available). It doesn't matter if you only have libXXX.a libraries.
@@ -12,7 +26,7 @@
#LIBPNGLIB = -L/usr/local/lib -lpng
# The following options are added at the suggestion of Axel Hecht
---- 34,43 ----
+--- 92,101 ----
# Use libXXX.a if you want to force static linking of the libraries.
# Use -Llibdir -lXXX if you want to use shared libraries (if they are
# available). It doesn't matter if you only have libXXX.a libraries.
@@ -24,7 +38,7 @@
# The following options are added at the suggestion of Axel Hecht
***************
-*** 48,56 ****
+*** 102,110 ****
# LIBPNGLIB = -L$(PREFIX)/lib -lpng
ZLIBDIR = $(SRCDIR)/zlib
@@ -34,7 +48,7 @@
#ZLIBLIB = -L/usr/local/lib -lz
# The following options are added at the suggestion of Axel Hecht
---- 48,56 ----
+--- 106,114 ----
# LIBPNGLIB = -L$(PREFIX)/lib -lpng
ZLIBDIR = $(SRCDIR)/zlib