www/firefox and www/thunderbird on STABLE/Alpha

Idar Tollefsen idart at performancedesign.no
Mon Oct 11 06:38:20 PDT 2004


Hello,

Both www/firefox and www/thunderbird have

.if ${ARCH} == "alpha" && ${OSVERSION} < 500035
IGNORE= "core dumps on alpha during post-build"
.endif

in their Makefiles. However, it's possible to install them by replacing the 
IGNORE line with

USE_GCC=        3.4

or 3.3. 3.4 was chosen as it's now used, for instance, by x11-toolkits/gtkmm24 
and similar ports.

There's one caveat tough. The required GCC version has to be built with 
WANT_SHAREDLIBS=yes or the mentioned ports (at least Firefox) fails its linking 
stage. At least it did so when I tried this with GCC 3.3.

I realize the downside of building shared libraries for a compiler that isn't 
the platform's native compiler, but even so, I was wondering if there's a way to 
say that a given port not only needs a certain version of GCC, but that it needs 
that version to build with WANT_SHAREDLIBS, short of setting it up in pkgtools.conf?

If there is a way to do this, Firefox and Thunderbird could be updated to also 
build on STABLE/Alpha. If not, I have at least provided a hint for the archives 
for those interested.


Sincerely,
Idar Tollefsen


More information about the freebsd-ports mailing list