Subject: pkg/36940: mk/bsd.pkg.update.mk broken
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Yakovetsky Vladimir <yx@x.ua>
List: pkgsrc-bugs
Date: 09/07/2007 07:45:01
>Number:         36940
>Category:       pkg
>Synopsis:       mk/bsd.pkg.update.mk broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 07 07:45:01 +0000 2007
>Originator:     Yakovetsky Vladimir
>Release:        NetBSD 4.0_RC1
>Organization:
>Environment:
System: NetBSD darg.x.ua 4.0_RC1 NetBSD 4.0_RC1 (darg-1.799.2.13-mp-1.8.8.1) #0: Thu Sep 6 15:52:19 EEST 2007 yx@darg.x.ua:/sys/arch/i386/compile/darg.mp i386
Architecture: i386
Machine: i386

>Description:
	mk/bsd.pkg.update.mk: broken version 1.9
	(note: 1.7 works)
	
>How-To-Repeat:
% ident /usr/pkgsrc/mk/bsd.pkg.update.mk
/usr/pkgsrc/mk/bsd.pkg.update.mk:
     $NetBSD: bsd.pkg.update.mk,v 1.9 2007/09/06 08:28:01 rillig Exp $

% cd /usr/pkgsrc/<category>/<package>

% make clean
===> Cleaning for <pkg>

% make update
pkg_info: missing package name(s)
usage: pkg_info [-BbcDdFfhIikLmNnpqRrSsVvX] [-e package] [-K pkg_dbdir]
                [-l prefix] pkg-name ...
       pkg_info [-a | -u] [flags]
       pkg_info [-Q variable] pkg-name ...
*** Error code 1

Stop.

>Fix:
	use previous mk/bsd.pkg.update 1.7