Subject: cleaning up compiler.mk
To: None <tech-pkg@NetBSD.org>
From: Thomas Klausner <wiz@NetBSD.org>
List: tech-pkg
Date: 07/03/2004 15:50:06
Hi!

mk/compiler.mk currently contains:
# Support some deprecated variables for a while.  They'll be removed
# after the pkgsrc-2004Q2 branch is cut.

This includes:
USE_GCC2, USE_GCC3, USE_PKGSRC_GCC, USE_SUNPRO, and USE_MIPSPRO.

However, there is still a number of packages using some of these
variables:
USE_PKGSRC_GCC:
cross/h8300-hms-gcc
devel/prc-tools

These two seem to set it to get compiled with gcc2, though
I'm not quite sure.

x11/kdelibs2
x11/kdelibs3
x11/neXtaw
x11/xfce

These set it only on alpha machines, seems to be some
alpha gcc workaround. These probably were USE_GCC2 in the
past. Should they set GCC_REQD to 3.0 instead (like for
arm in kdelibs)?

USE_GCC3:
lang/perl5 (unsets it)
pkgtools/pkg_comp (references it)

Matter of cleanup only. I'll do that.

USE_MIPSPRO:
textproc/xmlcatmgr

Tests if it is set -- this should probably be using CC_VERSION
instead. jmmv, could you please fix?

Any comments on how to change the packages using USE_PKGSRC_GCC?

Cheers,
 Thomas