Subject: pkg/18672: doesn't pick up bootstrap-pkgsrc pkg_* tools
To: None <>
From: None <>
List: netbsd-bugs
Date: 10/16/2002 09:45:55
>Number:         18672
>Category:       pkg
>Synopsis: doesn't pick up bootstrap-pkgsrc pkg_* tools
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 16 09:47:01 PDT 2002
>Originator:     Jonathan Perkin
>Release:        N/A
British Broadcasting Corporation
SunOS desk06 5.9 Generic_112233-01 sun4u sparc SUNW,Ultra-5_10
bootstrap-pkgsrc developed in othersrc installs native pkg_* tools ready
for installing pkgsrc.  Unfortunately, doesn't pick them
up as they're installed in sbin/ while zoularis would install in bin/ (
and then be overwritten with pkgtools/pkg_install latest version).

On a related note, PKGTOOLS_VERSION could do with being bumped for the
othersrc versions of pkg_* as they are unable to build anything.  Might
also be worth merging those versions back into pkgtools/pkg_install as
that fails due to sys/cdefs.h and friends errors on Solaris.

RCS file: /cache/ncvs/pkgsrc/mk/,v
retrieving revision 1.30
diff -u -r1.30
---       2002/10/06 22:16:41     1.30
+++       2002/10/16 16:36:06
@@ -120,7 +120,11 @@
 .  endif
+.if exists(${ZOULARISBASE}/bin/pkg_info)
 PKG_TOOLS_BIN?=                ${ZOULARISBASE}/bin
+PKG_TOOLS_BIN?=                ${ZOULARISBASE}/sbin
 .if ${X11BASE} == "/usr/openwin"