From futatuki@fureai.or.jp Fri Aug 27 23:13:59 1999
Return-Path: <futatuki@fureai.or.jp>
Received: from fureai.or.jp (ppp039.td.fureai.or.jp [210.143.57.39])
	by hub.freebsd.org (Postfix) with ESMTP id 65F4F15017
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 27 Aug 1999 23:13:49 -0700 (PDT)
	(envelope-from futatuki@fureai.or.jp)
Received: (from futatuki@localhost)
	by fureai.or.jp (8.9.3/8.9.1) id PAA94798;
	Sat, 28 Aug 1999 15:16:34 +0900 (JST)
	(envelope-from futatuki)
Message-Id: <199908280616.PAA94798.mkii@futatuki.fureai.or.jp>
Date: Sat, 28 Aug 1999 15:16:34 +0900 (JST)
From: futatuki@debug.gr.jp
Sender: futatuki@fureai.or.jp
Reply-To: futatuki@debug.gr.jp
To: FreeBSD-gnats-submit@freebsd.org
Subject: Fix port: audio/cdrdao
X-Send-Pr-Version: 3.2

>Number:         13435
>Category:       ports
>Synopsis:       Fix port: audio/cdrdao
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    cpiazza
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 27 23:20:01 PDT 1999
>Closed-Date:    Sat Aug 28 21:45:21 PDT 1999
>Last-Modified:  Sat Aug 28 21:45:33 PDT 1999
>Originator:     Yasuhito FUTATSUKI
>Release:        FreeBSD 3.2-STABLE i386
>Organization:
DEBUG (A BSD Users' group at South Ibaraki, Japan) 
>Environment:

	ports-current on FreeBSD 3.2-STABLE i386

>Description:

Cdrdao depends on lang/egcs in case trying to build xcdrdao on -stable,
So it should use USE_NEWGCC=yes.

>How-To-Repeat:

cd /usr/ports/audio/cdrdao; make XCDRDAO=yes

>Fix:
	
Apply following patch to Makefile:
BEGIN --- cut here --- cut here --- cut here --- cut here ---
--- ../cdrdao/Makefile	Wed Aug 25 13:35:23 1999
+++ Makefile	Sat Aug 28 14:47:25 1999
@@ -23,6 +23,7 @@
 WRKSRC=         	${WRKDIR}/cdrdao-1.1.2
 
 GNU_CONFIGURE=		yes
+USE_NEWGCC=	yes
 USE_GMAKE=	yes
 MAN1=		cdrdao.1
 
@@ -43,9 +44,7 @@
 .endif
 
 .if defined(XCDRDAO) && ${OSVERSION} < 400004
-BUILD_DEPENDS+=		eg++:${PORTSDIR}/lang/egcs
-CC=			egcc
-CXX=			eg++
+CFLAGS+=		-fpermissive
 .endif
 
 .if defined(DONT_USE_SCGLIB) && ${OSVERSION} > 300000
END   --- cut here --- cut here --- cut here --- cut here ---

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->cpiazza  
Responsible-Changed-By: cpiazza 
Responsible-Changed-When: Sat Aug 28 08:54:23 PDT 1999 
Responsible-Changed-Why:  
I'll take this: I missed it on my first USE_NEWGCC run 
State-Changed-From-To: open->closed  
State-Changed-By: cpiazza 
State-Changed-When: Sat Aug 28 21:45:21 PDT 1999 
State-Changed-Why:  
Path committed, thanks! 
>Unformatted:
