[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/44914: comms/asterisk18 DIST_SUBDIR botch (+FIX)
>Synopsis: comms/asterisk18 DIST_SUBDIR botch (+FIX)
>Arrival-Date: Thu Apr 28 01:55:00 +0000 2011
>Originator: Robert Elz
>Release: NetBSD 5.0 (pkgsrc current (HEAD) 2011-04-27)
Prince of Songkla University
System: NetBSD jade.coe.psu.ac.th 5.1 NetBSD 5.1 (JADE-1.12-20101117) #5: Wed
Nov 17 05:30:55 ICT 2010
When comms/asterisk18 was revbumbed from no rev to nb1, its DIST_SUBDIR
was make PKGNAME instead of PKGNAME_NOREV so that the distfiles could
be distinct between the two versions. That was all fine.
Then it was revbumped again, but no-one noticed that meant (the way
things were defined) that the distinfo file would need updating as
well, and everyone would needlessly be refetching distfiles.
That means that as it is now, pkgsrc just complains that the distinfo
file contains no checksums for the distfiles, and everything fails.
By inspection, or just "make checksum" in pkgsrc/comms/asterisk18
Rather than updating the distinfo, which would mean a refetch of the
distfiles, and then this same problem potentially occurring again
the next time there's some need of a revbumo (which was potentially
even an auto revbump caused by some dependency package being updated)
I think it is better to just wire down the name of the DIST_SUBDIR.
If a new set of distfiles are ever needed, this will be easy to fix.
I'm not sure if there is a better way, but this works ...
RCS file: /cvsroot/NetBSD/pkgsrc/comms/asterisk18/Makefile,v
retrieving revision 1.7
diff -u -r1.7 Makefile
--- Makefile 22 Apr 2011 13:43:09 -0000 1.7
+++ Makefile 28 Apr 2011 01:41:22 -0000
@@ -6,7 +6,7 @@
#XXX change back with next revision
Main Index |
Thread Index |