aboutsummaryrefslogtreecommitdiff
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-ab7
1 files changed, 4 insertions, 3 deletions
diff --git a/graphics/povray31/files/patch-ab b/graphics/povray31/files/patch-ab
index 1acc44a9241f..39187f94ab5f 100644
--- a/graphics/povray31/files/patch-ab
+++ b/graphics/povray31/files/patch-ab
@@ -1,5 +1,5 @@
---- source/unix/makefile.orig Mon Nov 22 09:12:37 1999
-+++ source/unix/makefile Sat Dec 2 03:42:45 2006
+--- source/unix/makefile.orig 1999-11-22 02:12:37.000000000 +0100
++++ source/unix/makefile 2012-05-06 19:41:21.000000000 +0200
@@ -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)
@@ -33,8 +33,9 @@
# 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.
-PNGDIR = $(SRCDIR)/libpng
+-LIBPNGINC = -I$(PNGDIR)
+PNGDIR = $(PREFIX)/include
- LIBPNGINC = -I$(PNGDIR)
++LIBPNGINC = -I$(PNGDIR) -I${LOCALBASE}/include/libpng15
#LIBPNGLIB = $(PNGDIR)/libpng.a
-LIBPNGLIB = -L$(PNGDIR) -lpng
+LIBPNGLIB = -L$(PREFIX)/lib -lpng