Subject: pkg/21277: Fix misleading pathname in bsd.pkg.mk
To: None <gnats-bugs@gnats.netbsd.org>
From: None <sketch@rd.bbc.co.uk>
List: netbsd-bugs
Date: 04/23/2003 12:40:56
>Number: 21277
>Category: pkg
>Synopsis: Fix misleading pathname in bsd.pkg.mk
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Wed Apr 23 12:42:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator: Jonathan Perkin
>Release: N/A
>Organization:
British Broadcasting Corporation
>Environment:
SunOS desk00 5.8 Generic sun4u sparc SUNW,Ultra-60
>Description:
--<jonp@desk00>-</scratch/pkgsrc>--
-% pkg_chk -u
[...]
[ Update...]
cd /scratch/pkgsrc/security/openssl && bmake update
===> Your package tools need to be updated to 2003/04/17 versions.
===> The installed package tools were last updated on 2003/01/11.
===> Please "bmake install" in ../../pkgtools/pkg_install.
*** Error code 255
The pathname is wrong given the cwd - probably better to use full path.
May also be worth changing it to provide a command line to c+p.
>How-To-Repeat:
>Fix:
Index: bsd.pkg.mk
===================================================================
RCS file: /cvsroot/pkgsrc/mk/bsd.pkg.mk,v
retrieving revision 1.1171
diff -u -r1.1171 bsd.pkg.mk
--- bsd.pkg.mk 2003/04/17 15:33:26 1.1171
+++ bsd.pkg.mk 2003/04/23 12:32:53
@@ -572,7 +572,7 @@
. if ${PKGTOOLS_VERSION} < ${PKGTOOLS_REQD}
PKG_FAIL_REASON+='Your package tools need to be updated to ${PKGTOOLS_REQD:C|(....)(..)(..)|\1/\2/\3|} versions.'
PKG_FAIL_REASON+='The installed package tools were last updated on ${PKGTOOLS_VERSION:C|(....)(..)(..)|\1/\2/\3|}.'
-PKG_FAIL_REASON+='Please "${MAKE} install" in ../../pkgtools/pkg_install.'
+PKG_FAIL_REASON+='Please "${MAKE} install" in ${_PKGSRCDIR}/pkgtools/pkg_install.'
. endif
. endif
>Release-Note:
>Audit-Trail:
>Unformatted: