1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/graphics/png2ico/files/patch-Makefile
Jean-Yves Lefort abe6c92c24 - Respect ${LOCALBASE} [1]
- Respect ${CXX} and ${CXXFLAGS}
- Discard vendor optimization flags
- Remove useless USE_GMAKE

[1]:
PR:		ports/87563
Submitted by:	maintainer
2005-10-17 11:44:02 +00:00

12 lines
374 B
Plaintext

--- Makefile.orig Mon Oct 17 13:19:41 2005
+++ Makefile Mon Oct 17 13:21:09 2005
@@ -5,7 +5,7 @@
all: png2ico
png2ico: png2ico.cpp
- g++ $(CPPFLAGS) $(DEBUG) -o $@ $< -lpng -lz -lm
+ $(CXX) $(CXXFLAGS) -I$(LOCALBASE)/include -L$(LOCALBASE)/lib -o $@ $< -lpng -lz -lm
doc/png2ico.txt: doc/png2ico.1
man $< |sed -e $$'s/.\b\\(.\\)/\\1/g' -e 's/\(.*\)/\1'$$'\r/' >$@