Bug 68348 - multimedia/xvid - Despite GCC 3.4 already being installed, GCC 3.3 is also pulled in
Summary: multimedia/xvid - Despite GCC 3.4 already being installed, GCC 3.3 is also pu...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-26 00:40 UTC by parv
Modified: 2004-06-26 01:56 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.