summaryrefslogtreecommitdiff
path: root/graphics/povray31/files/patch-ab
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2012-06-01 05:26:28 +0000
commit2b74a89bc8342f0b9b737c37d87737caf7b0ea1e (patch)
treec04604583d8be53b3ed7f10975be828c731f87cb /graphics/povray31/files/patch-ab
parent- Allow for larger database UIDs (diff)
- update png to 1.5.10
Notes
Notes: svn path=/head/; revision=297915
Diffstat (limited to '')
-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