pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/fetch Silence some longstanding noise in mail/qmail...
details: https://anonhg.NetBSD.org/pkgsrc/rev/d5ea7ca70027
branches: trunk
changeset: 522911:d5ea7ca70027
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Fri Dec 29 20:14:57 2006 +0000
description:
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:
mk/fetch/fetch.mk | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r d7f6a138693a -r d5ea7ca70027 mk/fetch/fetch.mk
--- a/mk/fetch/fetch.mk Fri Dec 29 19:59:43 2006 +0000
+++ b/mk/fetch/fetch.mk Fri Dec 29 20:14:57 2006 +0000
@@ -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 @@
_PATCHFILES?= ${PATCHFILES}
.endif
_ALLFILES?= ${_DISTFILES} ${_PATCHFILES}
+_ALLFILES:= ${_ALLFILES:O:u} # remove duplicates
_BUILD_DEFS+= _DISTFILES _PATCHFILES
Home |
Main Index |
Thread Index |
Old Index