Subject: CVS commit: pkgsrc/mk/fetch
To: None <pkgsrc-changes@NetBSD.org>
From: Amitai Schlair <schmonz@netbsd.org>
List: pkgsrc-changes
Date: 12/29/2006 20:14:57
Module Name:	pkgsrc
Committed By:	schmonz
Date:		Fri Dec 29 20:14:57 UTC 2006

Modified Files:
	pkgsrc/mk/fetch: fetch.mk

Log Message:
Silence some longstanding noise in mail/qmail, caused by the fact
that its ${DISTFILES} is also a common ${PATCHFILES}, resulting in
the file being listed twice in ${_ALLFILES}. This one-line change
removes duplicate filenames from ${_ALLFILES}, mirroring an identical
transformation to ${ALLFILES} that used to do the trick. (The fetch
code, obviously, has since changed a bit.)

What the noise looked like:

$ cd pkgsrc/mail/qmail
$ make clean PKG_OPTIONS="netqmail"
make: "/home/build/trees/pkgsrc-current/mk/fetch/fetch.mk" line 133: warning: duplicate script for target "/home/build/trees/pkgsrc-current/distfiles/netqmail-1.05.tar.gz" ignored
make: "/home/build/trees/pkgsrc-current/mk/fetch/fetch.mk" line 133: warning: using previous script for "/home/build/trees/pkgsrc-current/distfiles/netqmail-1.05.tar.gz" defined here
===> Cleaning for qmail-1.03nb12
$

Tested in a bulk build by joerg@.


To generate a diff of this commit:
cvs rdiff -r1.23 -r1.24 pkgsrc/mk/fetch/fetch.mk

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