aboutsummaryrefslogtreecommitdiff
path: root/graphics/png2ico/files/patch-Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/png2ico/files/patch-Makefile')
-rw-r--r--graphics/png2ico/files/patch-Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/graphics/png2ico/files/patch-Makefile b/graphics/png2ico/files/patch-Makefile
index 39b52e7ebe66..48fe12c3998e 100644
--- a/graphics/png2ico/files/patch-Makefile
+++ b/graphics/png2ico/files/patch-Makefile
@@ -1,11 +1,17 @@
--- Makefile.orig Sat Dec 7 23:49:52 2002
-+++ Makefile Tue Apr 15 02:32:25 2003
-@@ -1,6 +1,6 @@
++++ Makefile Mon Mar 1 13:24:57 2004
+@@ -1,11 +1,11 @@
-CPPFLAGS=-W -Wall -O2 -finline-functions
-+CPPFLAGS=-W -Wall -O2 -finline-functions -I/usr/local/include -L/usr/local/lib
++CPPFLAGS=-W -Wall -g -O -pipe -finline-functions -I/usr/local/include -L/usr/local/lib
#CPPFLAGS=-O0 -W -Wall
-DEBUG=-g
+#DEBUG=-g
all: png2ico
+ png2ico: png2ico.cpp
+- g++ $(CPPFLAGS) $(DEBUG) -o $@ $< -lpng -lz -lm
++ ${CXX} $(CPPFLAGS) $(DEBUG) -o $@ $< -lpng -lz -lm
+
+ doc/png2ico.txt: doc/png2ico.1
+ man $< |sed -e $$'s/.\b\\(.\\)/\\1/g' -e 's/\(.*\)/\1'$$'\r/' >$@