freebsd-ports/graphics/pngcrush/files/patch-Makefile
Matthias Andree aa571ecdc5 Update to 1.7.59, unbreaking the fetch.
PR:		ports/179351
PR:		ports/177629
PR:		ports/178806
PR:		ports/179046
PR:		ports/179197 [1]
PR:		ports/179351
Submitted by:	Sayetsky Anton <vsjcfm@gmail.com> [1] and others
Approved by:	jsa (maintainer timeout, 9 weeks on PR 177629)
2013-06-08 17:18:33 +00:00

29 lines
850 B
Text

--- ./Makefile.orig 2013-06-02 13:08:48.000000000 +0300
+++ ./Makefile 2013-06-02 13:10:53.000000000 +0300
@@ -11,11 +11,11 @@
# macros --------------------------------------------------------------------
# uncomment these 2 lines only if you are using an external copy of libpng:
-PNGINC = ${HOME}/include
-PNGLIB = ${HOME}/lib
+#PNGINC = ${HOME}/include
+#PNGLIB = ${HOME}/lib
# uncomment these 2 lines only if you are using an external copy of zlib:
-ZINC = ${HOME}/include
-ZLIB = ${HOME}/lib
+#ZINC = ${HOME}/include
+#ZLIB = ${HOME}/lib
CC = gcc
LD = gcc
@@ -31,8 +31,8 @@
PNGCRUSH = pngcrush
# LIBS = -lm
-LIBS = -L$(PNGLIB) -lpng -lz -lm
-# LIBS = -lpng -lz -lm
+#LIBS = -L$(PNGLIB) -lpng -lz -lm
+LIBS = -lpng -lz -lm
#LIBS = ${ZLIB}/libz.a -lm
# uncomment these 4 lines only if you are NOT using an external copy of zlib: