Subject: pkg/32783: sysutils/xuvmstat DISTNAME incorrect (revbump fallout) (+fix - bad one)
To: None <,,>
From: None <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 02/09/2006 13:10:00
>Number:         32783
>Category:       pkg
>Synopsis:       sysutils/xuvmstat DISTNAME incorrect (+fix - bad one)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 09 13:10:00 +0000 2006
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15  (pkgsrc current as of a few huors ago)
	Prince of Songkla University
System: NetBSD 3.99.15 NetBSD 3.99.15 (GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 i386
Architecture: i386
Machine: i386
	The DISTNAME for sysutils/xuvmstat is formed from the
	PKGNAME - when the revbump occurred a few days ago, that
	had the side-effect of appending "nb1" to the DISTNAME.

	This package was never intended to have PKGREVISION set,
	since it is a local NetBSD package, any changes would
	simply make a new version of the distfile.   hence it
	doesn't work very well with a PKGREVISION set.
	# no need to remove any old distfiles you cannot have the one
	# it wants, there is no such thing
	cd ..../pkgsrc/sysutils/xuvmstat
	make fetch
	The patch below works around the problem.   I know this
	isn't the way the pkgsrc people are going to fix it,
	they will derive PKGNAME from DISTNAME instead.   But
	this works, and might allow anyone else who needs to
	recompile xuvmstat after the revbump disaster to survive
	until the correct fix is comitted.

--- Makefile.was	2006-02-06 16:16:18.000000000 +0700
+++ Makefile	2006-02-09 20:02:50.000000000 +0700
@@ -1,9 +1,9 @@
 # $NetBSD: Makefile,v 1.15 2006/02/05 23:10:59 joerg Exp $
+DISTNAME=	xuvmstat20050909
 PKGNAME=	xuvmstat-20050909
 CATEGORIES=	sysutils