Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 02/18/2004 13:32:38
Module Name:	pkgsrc
Committed By:	jlam
Date:		Wed Feb 18 13:32:38 UTC 2004

Modified Files:
	pkgsrc/mk: bsd.pkg.mk bsd.prefs.mk tools.mk
	pkgsrc/mk/buildlink2: bsd.buildlink2.mk
	pkgsrc/mk/buildlink3: bsd.buildlink3.mk
	pkgsrc/mk/compiler: ccache.mk distcc.mk gcc.mk mipspro-ucode.mk
	    mipspro.mk sunpro.mk
Added Files:
	pkgsrc/mk: compiler.mk
Removed Files:
	pkgsrc/mk/compiler: bsd.compiler.mk

Log Message:
* Move pkgsrc/mk/compiler/bsd.compiler.mk to pkgsrc/mk/compiler.mk.
  Package Makefiles may now directly include compiler.mk.

* Don't include compiler.mk within bsd.prefs.mk any longer.  It was only
  included for the purposes of defining CC_VERSION.  Packages that want
  to test the value of CC_VERSION should now first include
  "../../mk/compiler.mk".  Any GCC_REQD statements in package Makefiles
  should be set before compiler.mk is included.

* Simpllfy pkgsrc/mk/compiler/*.mk files as a result of not needing to
  be included indirectly by bsd.prefs.mk.  We remove the special handling
  associated with detecting whether the file was included from within
  bsd.prefs.mk.  These files are now much more straightforward to write
  and understand.

* G/C the BSD_PREFS_MK stack mechanism as the only users (compiler/*)
  no longer need it.

* Ensure that directories are prepended to the PATH only from within
  bsd.pkg.mk.


To generate a diff of this commit:
cvs rdiff -r1.1409 -r1.1410 pkgsrc/mk/bsd.pkg.mk
cvs rdiff -r1.154 -r1.155 pkgsrc/mk/bsd.prefs.mk
cvs rdiff -r0 -r1.26 pkgsrc/mk/compiler.mk
cvs rdiff -r1.27 -r1.28 pkgsrc/mk/tools.mk
cvs rdiff -r1.117 -r1.118 pkgsrc/mk/buildlink2/bsd.buildlink2.mk
cvs rdiff -r1.91 -r1.92 pkgsrc/mk/buildlink3/bsd.buildlink3.mk
cvs rdiff -r1.10 -r0 pkgsrc/mk/compiler/bsd.compiler.mk
cvs rdiff -r1.14 -r1.15 pkgsrc/mk/compiler/ccache.mk
cvs rdiff -r1.16 -r1.17 pkgsrc/mk/compiler/distcc.mk
cvs rdiff -r1.52 -r1.53 pkgsrc/mk/compiler/gcc.mk
cvs rdiff -r1.1 -r1.2 pkgsrc/mk/compiler/mipspro-ucode.mk
cvs rdiff -r1.21 -r1.22 pkgsrc/mk/compiler/mipspro.mk
cvs rdiff -r1.19 -r1.20 pkgsrc/mk/compiler/sunpro.mk

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