Bug 68348

Summary: multimedia/xvid - Despite GCC 3.4 already being installed, GCC 3.3 is also pulled in
Product: Ports & Packages Reporter: parv <parv.0zero9+freebsd>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: lofi
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description parv 2004-06-26 00:40:24 UTC
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.
Comment 1 Michael Nottebrock 2004-06-26 00:59:15 UTC
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.
Comment 2 Michael Nottebrock freebsd_committer freebsd_triage 2004-06-26 00:59:38 UTC
State Changed
From-To: open->closed

Workaround enabled.
Comment 3 Michael Nottebrock 2004-06-26 01:42:42 UTC
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.