Selecting a different compiler by setting CXX in env doesn't work, the Makefile contains always g++, sausing compiler errors.
http://www.freebsd.org/cgi/query-pr.cgi?pr=63483 Can a submitter or a maintainer provide a patch for this issue? -- Pav Lucistnik <pav@oook.cz> <pav@FreeBSD.org> But soft, what light through yonder window breaks? It is the East, and Juliet is the sun! Arise, fair sun, and kill the envious moon, who is already sick and pale with grief that thou her maid art far more fair than she.
State Changed From-To: open->feedback Asked around for a patch.
Responsible Changed From-To: freebsd-ports-bugs->pav Track.
patch to enable ${CXX} franz. ===== patch begins here ===== --- png2ico/files/patch-Makefile.orig Tue Apr 15 02:54:19 2003 +++ png2ico/files/patch-Makefile Mon Mar 1 10:19:43 2004 @@ -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 10:18:26 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 -O -g -pipe -march=pentium4 -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/' >$@ ===== patch ends here =====
State Changed From-To: feedback->closed Maintainer's patch committed.