Subject: CVS commit: pkgsrc/lang/gcc
To: None <pkgsrc-changes@netbsd.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 09/27/2002 16:07:14
Module Name:	pkgsrc
Committed By:	jlam
Date:		Fri Sep 27 13:07:14 UTC 2002

Added Files:
	pkgsrc/lang/gcc: buildlink2.mk

Log Message:
Create a buildlink2.mk file for lang/gcc.  Aside from the usual tunable
variables, there is a new one, GCC_REQD, that contains the minimum version
of GCC needed to compile the package.  For the purpose of version
comparison, all versions of EGCS are considered to be gcc-2.8.1.

This buildlink2.mk file attempts to be smart, so if the gcc in your path is
actually the one from lang/gcc, then it's considered that you need lang/gcc
at least at build-time.

There is also a new variable USE_CXX, that tells the buildlink2.mk file
whether you need to link against libstdc++.so, and thus need a _full_
dependency on lang/gcc.


To generate a diff of this commit:
cvs rdiff -r0 -r1.1 pkgsrc/lang/gcc/buildlink2.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.