Subject: CVS commit: pkgsrc/mk/buildlink3
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 09/08/2003 21:10:27
Module Name:	pkgsrc
Committed By:	jlam
Date:		Mon Sep  8 21:10:27 UTC 2003

Modified Files:
	pkgsrc/mk/buildlink3: wrapper.sh

Log Message:
Reduce length of command lines executed by not appending some options that
we've already seen:

-[DILR]*|-Wl,-R*|-Wl,-*,/*
	These are all only useful the first time we see them.  All other
	instances are redundant.

-l*
	Extra libraries are suppressed if they're repeated, e.g.,
	"-lm -lm -lm -lX11 -lX11 -lm -lm" -> "-lm -lX11 -lm".

The screen output is still likely to be very verbose, but you can check
in work/.work.log to see the actual commands executed.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 pkgsrc/mk/buildlink3/wrapper.sh

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