summaryrefslogtreecommitdiff
path: root/mk/fetch/fetch.mk
diff options
context:
space:
mode:
authorschmonz <schmonz>2006-12-29 20:14:57 +0000
committerschmonz <schmonz>2006-12-29 20:14:57 +0000
commit8c2c136bc5e14ce9b44d984be317927f40825510 (patch)
treef59d56d32f1bd0f70da088a56f07727935946900 /mk/fetch/fetch.mk
parent9a5adc1312e6ad7c2b4bf4012a76f63986318985 (diff)
downloadpkgsrc-8c2c136bc5e14ce9b44d984be317927f40825510.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.mk3
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