From nobody@FreeBSD.org  Sat Feb 28 04:54:50 2004
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 0B38916A4CE
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 28 Feb 2004 04:54:50 -0800 (PST)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E317443D1F
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 28 Feb 2004 04:54:49 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.12.10/8.12.10) with ESMTP id i1SCsn72069513
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 28 Feb 2004 04:54:49 -0800 (PST)
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.12.10/8.12.10/Submit) id i1SCsn9r069512;
	Sat, 28 Feb 2004 04:54:49 -0800 (PST)
	(envelope-from nobody)
Message-Id: <200402281254.i1SCsn9r069512@www.freebsd.org>
Date: Sat, 28 Feb 2004 04:54:49 -0800 (PST)
From: regisr <regisr@regix.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Choice of compiler for png2ico
X-Send-Pr-Version: www-2.3

>Number:         63483
>Category:       ports
>Synopsis:       Choice of compiler for png2ico
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pav
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 28 05:00:25 PST 2004
>Closed-Date:    Mon Mar 01 04:26:59 PST 2004
>Last-Modified:  Mon Mar 01 04:26:59 PST 2004
>Originator:     regisr
>Release:        FreeBSD 4.9-STABLE
>Organization:
>Environment:
FreeBSD crocoite.home.regix.com 4.9-STABLE FreeBSD 4.9-STABLE #75: Sat Feb 21 16:04:14 CET 2004     regisr@crocoite.home.regix.com:/usr/obj/usr/src/sys/CROCOITE i386
>Description:
      Selecting a different compiler by setting CXX in env doesn't work, the Makefile contains always g++, sausing compiler errors.
>How-To-Repeat:
      
>Fix:
      
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: pav 
State-Changed-When: Sat Feb 28 05:51:12 PST 2004 
State-Changed-Why:  
Asked around for a patch. 


Responsible-Changed-From-To: freebsd-ports-bugs->pav 
Responsible-Changed-By: pav 
Responsible-Changed-When: Sat Feb 28 05:51:12 PST 2004 
Responsible-Changed-Why:  
Track. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63483 

From: Pav Lucistnik <pav@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org, regisr@regix.com,
	klammer@webonaut.com
Cc:  
Subject: Re: ports/63483: Choice of compiler for png2ico
Date: Sat, 28 Feb 2004 14:51:07 +0100

 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.

From: Franz Klammer <klammer@webonaut.com>
To: freebsd-gnats-submit@FreeBSD.org, regisr@regix.com
Cc:  
Subject: Re: ports/63483: Choice of compiler for png2ico
Date: Mon, 01 Mar 2004 10:33:38 +0100

 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 
State-Changed-By: pav 
State-Changed-When: Mon Mar 1 04:26:47 PST 2004 
State-Changed-Why:  
Maintainer's patch committed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=63483 
>Unformatted:
