make OBJECT_FMT test of installed packages work again.

This commit is contained in:
grant 2003-06-10 06:01:12 +00:00
parent f332b2a802
commit d60c936e59

View file

@ -1,4 +1,4 @@
# $NetBSD: bsd.pkg.mk,v 1.1193 2003/06/10 05:21:42 grant Exp $
# $NetBSD: bsd.pkg.mk,v 1.1194 2003/06/10 06:01:12 grant Exp $
#
# This file is in the public domain.
#
@ -3649,7 +3649,7 @@ install-depends: uptodate-pkgtools
fi; \
fi; \
if [ "$$found" != "" ]; then \
instobjfmt=`${PKG_INFO} -B "$$pkg" | ${AWK} '/^OBJECT_FMT/ {print $$2; exit}'`; \
instobjfmt=`${PKG_INFO} -B "$$pkg" | ${AWK} -F'= ?' '/^OBJECT_FMT/ {print $$2; exit}'`; \
if [ "$$instobjfmt" = "" ]; then \
if [ "X${WARN_NO_OBJECT_FMT}" != "Xno" ]; then \
${ECHO} "WARNING: Unknown object format for installed package $$pkg - continuing"; \