From parv@chvlva.adelphia.net  Fri Jun 25 23:39:42 2004
Return-Path: <parv@chvlva.adelphia.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP
	id 435D616A4CE; Fri, 25 Jun 2004 23:39:42 +0000 (GMT)
Received: from mta10.adelphia.net (mta10.adelphia.net [68.168.78.202])
	by mx1.FreeBSD.org (Postfix) with ESMTP
	id D756D43D53; Fri, 25 Jun 2004 23:39:41 +0000 (GMT)
	(envelope-from parv@chvlva.adelphia.net)
Received: from default.chvlva.adelphia.net ([69.160.73.175])
          by mta10.adelphia.net
          (InterMail vM.6.01.03.02 201-2131-111-104-20040324) with ESMTP
          id <20040625233922.LCKC12887.mta10.adelphia.net@default.chvlva.adelphia.net>;
          Fri, 25 Jun 2004 19:39:22 -0400
Received: by default.chvlva.adelphia.net (Postfix, from userid 1000)
	id 0039455C0; Fri, 25 Jun 2004 19:40:45 -0400 (EDT)
Message-Id: <20040625234045.0039455C0@default.chvlva.adelphia.net>
Date: Fri, 25 Jun 2004 19:40:45 -0400 (EDT)
From: parv@pair.com
Reply-To:
To: FreeBSD-gnats-submit@freebsd.org
Cc: lofi@FreeBSD.org
Subject: multimedia/xvid - Despite GCC 3.4 already being installed, GCC 3.3 is also pulled in
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         68348
>Category:       ports
>Synopsis:       multimedia/xvid - Despite GCC 3.4 already being installed, GCC 3.3 is also pulled in
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jun 25 23:40:24 GMT 2004
>Closed-Date:    Sat Jun 26 00:00:26 GMT 2004
>Last-Modified:  Sat Jun 26 00:56:46 GMT 2004
>Originator:     parv
>Release:        FreeBSD 4.9-RELEASE-p9 i386
>Organization:
>Environment:
System: FreeBSD moo.holy.cow 4.9-RELEASE-p9 FreeBSD 4.9-RELEASE-p9 #3: Wed May 26 21:35:51 EDT 2004 root@moo.holy.cow:/misc/src-4.9/sys/BOVINE i386

GCC 3.4.0_20040414

>Description:

In xvid/Makefile, v 1.15 2004/06/13 20:35:22, $USE_GCC has value of
"3.3".  I had already installed GCC 3.4 listed above.

During some phase of port building, GCC 3.3 is being installed.  That
is overly redundant as i have already installed GCC 3.4.

The port builds w/o any problems w/ GCC 3.4.0_20040414.


>How-To-Repeat:

Have a non 3.3 version, 3.4 in this case, of GCC installed & see xvid
pull in version 3.3.

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: lofi 
State-Changed-When: Fri Jun 25 23:59:38 GMT 2004 
State-Changed-Why:  
Workaround enabled. 


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

From: Michael Nottebrock <michaelnottebrock@gmx.net>
To: freebsd-gnats-submit@FreeBSD.org, parv@pair.com
Cc:  
Subject: Re: ports/68348: multimedia/xvid - Despite GCC 3.4 already being installed, GCC 3.3 is also pulled in
Date: Sat, 26 Jun 2004 01:59:15 +0200

 I just committed a change to the port that makes USE_GCC overridable. Set 
 USE_GCC=3.4 in /etc/make.conf and it should not depend on gcc 3.3 for you 
 anymore. 
 
 That's the best I can do, if you want better/smarter autodetection for 
 ports-installed gcc versions, file a bug against bsd.port.mk.

From: Michael Nottebrock <michaelnottebrock@gmx.net>
To: freebsd-gnats-submit@FreeBSD.org, parv@pair.com
Cc:  
Subject: Re: ports/68348: multimedia/xvid - Despite GCC 3.4 already being installed, GCC 3.3 is also pulled in
Date: Sat, 26 Jun 2004 02:42:42 +0200

 On second thought, you probably don't want to set USE_GCC=foo in make.conf 
 after all, you will add a dependency on gcc34 to every port that way (except 
 those which set USE_GCC= themselves). Better use pkgtools.conf to only apply 
 it to multimedia/xvid.
>Unformatted:
