Subject: pkg/19223: make bin-install will not install dependencies of a binary package
To: None <gnats-bugs@gnats.netbsd.org>
From: None <svs+pr@grep.ru>
List: netbsd-bugs
Date: 12/01/2002 10:17:29
>Number: 19223
>Category: pkg
>Synopsis: make bin-install will not install dependencies of a binary package
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Dec 01 10:18:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator: Sergey Svishchev
>Release: 1.6G
>Organization:
>Environment:
>Description:
Because user is forced to unset PKG_PATH before doing pkgsrc work, make bin-install fails when a binary package has dependencies (they are searched for in . only).
>How-To-Repeat:
>Fix:
--- bsd.pkg.mk 2002/11/26 15:19:50 1.1092
+++ bsd.pkg.mk 2002/12/01 18:11:25
@@ -3349,7 +3355,7 @@
fi
@if [ -f ${PKGFILE} ] ; then \
${ECHO_MSG} "Installing from binary pkg ${PKGFILE}" ; \
- ${PKG_ADD} ${PKGFILE} ; \
+ ${SETENV} PKG_PATH=${PKGREPOSITORY} ${PKG_ADD} ${PKGFILE} ; \
else \
rel=`${UNAME} -r | ${SED} 's@\.\([0-9]*\)[\._].*@\.\1@'`; \
arch=${MACHINE_ARCH}; \
>Release-Note:
>Audit-Trail:
>Unformatted: