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.
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.
State Changed From-To: open->closed Workaround enabled.
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.