diff options
author | schmonz <schmonz@pkgsrc.org> | 2006-12-29 20:14:57 +0000 |
---|---|---|
committer | schmonz <schmonz@pkgsrc.org> | 2006-12-29 20:14:57 +0000 |
commit | a35f4e9517ca59b40c57eddd747d62ba0db87bfb (patch) | |
tree | f59d56d32f1bd0f70da088a56f07727935946900 /mk | |
parent | f59e60c0fdd027b32aab073ff24a242036768036 (diff) | |
download | pkgsrc-a35f4e9517ca59b40c57eddd747d62ba0db87bfb.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')
-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 |