Subject: CVS commit: pkgsrc/mk/wrapper
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 01/10/2005 03:40:25
Module Name:	pkgsrc
Committed By:	jlam
Date:		Mon Jan 10 03:40:25 UTC 2005

Modified Files:
	pkgsrc/mk/wrapper: bsd.wrapper.mk logic

Log Message:
Avoid the silly optimization in the make logic and push it into the
shell script instead.  We can't avoid invoking sed at least once since
we need to protect the arguments against shell expansion, but we avoid
invoking sed for transformations unless there actually are transformations
to perform.  The code is simpler, more straightforward, and logically
correct now.

This fixes problems with using a non-GCC compiler with packages that
haven't been converted to use buildlink3, noted in PR pkg/28896.


To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 pkgsrc/mk/wrapper/bsd.wrapper.mk
cvs rdiff -r1.7 -r1.8 pkgsrc/mk/wrapper/logic

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