diff options
Diffstat (limited to 'graphics/pvmpov/files/patch-ab')
-rw-r--r-- | graphics/pvmpov/files/patch-ab | 56 |
1 files changed, 13 insertions, 43 deletions
diff --git a/graphics/pvmpov/files/patch-ab b/graphics/pvmpov/files/patch-ab index 04bbd54963fb..f74cb40a1d82 100644 --- a/graphics/pvmpov/files/patch-ab +++ b/graphics/pvmpov/files/patch-ab @@ -1,6 +1,6 @@ ---- povray31/source/pvm/Makefile.aimk.orig Sun Sep 12 00:25:35 1999 -+++ povray31/source/pvm/Makefile.aimk Wed Dec 17 21:02:49 2003 -@@ -63,18 +63,18 @@ +--- povray31/source/pvm/Makefile.aimk.orig Sat Sep 8 00:29:33 2001 ++++ povray31/source/pvm/Makefile.aimk Wed Feb 23 01:28:26 2005 +@@ -45,18 +45,18 @@ # 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,58 +24,28 @@ +ZLIBLIB = -lz #ZLIBLIB = -L/usr/local/lib -lz + # +@@ -77,7 +77,7 @@ + # for some AIX systems + #X11 = /usr/lpp/X11 -@@ -92,7 +92,7 @@ - #X11 = /usr/local/X11R6 - #X11 = /usr/openwin # for some SunOS systems - #X11 = /usr/lpp/X11 # for some AIX systems -X11 = /usr/X11R6 +X11 = %X11BASE% # You probably won't need to change these if you have the X11 variable - # above set properly... -@@ -127,28 +127,27 @@ - # + # above set properly... +@@ -115,11 +115,10 @@ CC = gcc OBJ = .o + -PVMINC = -I$(PVM_ROOT)/include -PVMLIB = $(PVM_ROOT)/lib/$(PVM_ARCH)/libpvm3.a \ - $(PVM_ROOT)/lib/$(PVM_ARCH)/libgpvm3.a +PVMINC = -I%LOCALBASE%/include +PVMLIB = -L%LOCALBASE%/lib -lpvm3 -lgpvm3 - #PVMLIB = /usr/lib/libpvm3.a \ - # /usr/lib/libgpvm3.a XDIR = $(HOME)/pvm3/bin/$(PVM_ARCH) --CFLAGS = -O6 -m486 -ansi -finline-functions -ffast-math -c -Wall \ +-CFLAGS = -O3 -ansi -finline-functions -ffast-math -c -Wall \ +CFLAGS = -O6 -ansi -finline-functions -ffast-math -c -Wall \ - -DCOMPILER_VER=\".`uname`.$(CC)\" \ + -DPVM -D$(PVM_ARCH) -DCOMPILER_VER=\".`uname`.$(CC)\" \ + -DPOV_LIB_DIR=\"$(POVLIBDIR)\" \ $(SRCINC) $(LIBPNGINC) $(ZLIBINC) $(XLIBINC) - LFLAGS = $(PVMLIB) $(LIBPNGLIB) $(ZLIBLIB) -lm - - # some other possibilities for CFLAGS - #CFLAGS = -O2 -ansi -c -DCOMPILER_VER=\".`uname`.$(CC)\" \ -- $(SRCINC) $(LIBPNGINC) $(ZLIBINC) $(XLIBINC) -+# $(SRCINC) $(LIBPNGINC) $(ZLIBINC) $(XLIBINC) - # HPUX compiler flags - #CFLAGS = +O2 -finline-functions -c -Aa -D_HPUX_SOURCE \ -- -DCOMPILER_VER=\".`uname`.$(CC)\" \ -- $(SRCINC) $(LIBPNGINC) $(ZLIBINC) -+# -DCOMPILER_VER=\".`uname`.$(CC)\" \ -+# $(SRCINC) $(LIBPNGINC) $(ZLIBINC) - # ALPHA compiler flags - #CFLAGS = -O6 -ansi -finline-functions -c -Wall \ -- -DCOMPILER_VER=\".`uname`.$(CC)\" \ -- $(SRCINC) $(LIBPNGINC) $(ZLIBINC) $(XLIBINC)$(SRCINC) -+# -DCOMPILER_VER=\".`uname`.$(CC)\" \ -+# $(SRCINC) $(LIBPNGINC) $(ZLIBINC) $(XLIBINC)$(SRCINC) - - # - # and additional file needed for PVM -@@ -1079,7 +1078,6 @@ - config.h \ - $(SRCDIR)/frame.h \ - $(SRCDIR)/optout.h \ -- $(PNGDIR)/png.h \ - $(SRCDIR)/png_pov.h \ - $(SRCDIR)/point.h \ - $(SRCDIR)/povproto.h \ |