aboutsummaryrefslogtreecommitdiff
path: root/graphics/png2ico
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2004-03-01 12:26:35 +0000
committerPav Lucistnik <pav@FreeBSD.org>2004-03-01 12:26:35 +0000
commite556665cdd1de057c381c848a45638c8920ccdc0 (patch)
tree4132d5c1b73966cc7c5331116590f6dbb8fd0e2d /graphics/png2ico
parent2d2230aa3b5647b1ce887bc796d5dd3e42e39241 (diff)
downloadports-e556665cdd1de057c381c848a45638c8920ccdc0.tar.gz
ports-e556665cdd1de057c381c848a45638c8920ccdc0.zip
Notes
Diffstat (limited to 'graphics/png2ico')
-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/' >$@