Subject: CVS commit: pkgsrc/pkgtools/posix_headers
To: None <pkgsrc-changes@NetBSD.org>
From: Tobias Nygren <tnn@netbsd.org>
List: pkgsrc-changes
Date: 04/24/2007 23:12:44
Module Name:	pkgsrc
Committed By:	tnn
Date:		Tue Apr 24 23:12:44 UTC 2007

Modified Files:
	pkgsrc/pkgtools/posix_headers: Makefile
	pkgsrc/pkgtools/posix_headers/files: math.h

Log Message:
When we're substituting a system-provided header file, use the C
preprocessor to find out the absolute path of the system header, so that
we may include it before we add our customizations.
This is especially important when using gcc, due to it's "fixincludes".
For example, <math.h> might not be /usr/include/math.h, but instead
something like /path/to/gcc/lib/gcc/${MACHINE_GNU_PLATFORM}/include/math.h.


To generate a diff of this commit:
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/pkgtools/posix_headers/Makefile
cvs rdiff -r1.1.1.1 -r1.2 pkgsrc/pkgtools/posix_headers/files/math.h

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