Subject: CVS commit: pkgsrc/mk
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 10/04/2004 20:28:30
Module Name:	pkgsrc
Committed By:	jlam
Date:		Mon Oct  4 20:28:30 UTC 2004

Modified Files:
	pkgsrc/mk: bsd.pkg.mk
	pkgsrc/mk/wrapper: bsd.wrapper.mk
Added Files:
	pkgsrc/mk/wrapper: scan

Log Message:
Add a scan script that checks for "-v" on the command-line, and prevents
the wrappers from adding extra flags to the command-line if "-v"
exists.  This makes "g++ -v" return the same error code for both the
wrapper and the real executable and fixes the problem with the
libtool-base build not correctly detecting the C++ compiler and thus
not adding the CXX configuration tag to the final libtool script.

Downgrade LIBTOOL_REQD to 1.5.10 since the newest version isn't needed
with this change.


To generate a diff of this commit:
cvs rdiff -r1.1507 -r1.1508 pkgsrc/mk/bsd.pkg.mk
cvs rdiff -r1.5 -r1.6 pkgsrc/mk/wrapper/bsd.wrapper.mk
cvs rdiff -r0 -r1.1 pkgsrc/mk/wrapper/scan

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