diff options
author | schmonz <schmonz> | 2006-12-29 20:14:57 +0000 |
---|---|---|
committer | schmonz <schmonz> | 2006-12-29 20:14:57 +0000 |
commit | 849b63ed54aed1ccdac6955f358c601a21269de1 (patch) | |
tree | f59d56d32f1bd0f70da088a56f07727935946900 /mk/fetch/fetch.mk | |
parent | 0afedf595ac3ae2c0dffa5f4a544b6fac213a245 (diff) | |
download | pkgsrc-849b63ed54aed1ccdac6955f358c601a21269de1.tar.gz |
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@.
Diffstat (limited to 'mk/fetch/fetch.mk')
-rw-r--r-- | mk/fetch/fetch.mk | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/fetch/fetch.mk b/mk/fetch/fetch.mk index 50e6195a405..6f8016cdc22 100644 --- a/mk/fetch/fetch.mk +++ b/mk/fetch/fetch.mk @@ -1,4 +1,4 @@ -# $NetBSD: fetch.mk,v 1.23 2006/11/25 21:33:39 jdolecek Exp $ +# $NetBSD: fetch.mk,v 1.24 2006/12/29 20:14:57 schmonz Exp $ _MASTER_SITE_BACKUP= ${MASTER_SITE_BACKUP:=${DIST_SUBDIR}${DIST_SUBDIR:D/}} _MASTER_SITE_OVERRIDE= ${MASTER_SITE_OVERRIDE:=${DIST_SUBDIR}${DIST_SUBDIR:D/}} @@ -26,6 +26,7 @@ _IGNOREFILES?= ${IGNOREFILES} _PATCHFILES?= ${PATCHFILES} .endif _ALLFILES?= ${_DISTFILES} ${_PATCHFILES} +_ALLFILES:= ${_ALLFILES:O:u} # remove duplicates _BUILD_DEFS+= _DISTFILES _PATCHFILES |