summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2003-06-10 06:01:12 +0000
committergrant <grant@pkgsrc.org>2003-06-10 06:01:12 +0000
commitd60c936e59b67149a9f90ede4627f64be6c20d35 (patch)
tree8f07d474c626c2d2d86276b8da5881679c4c9216 /mk
parentf332b2a8024b986eb86a79f25e65dff6d271c7dd (diff)
downloadpkgsrc-d60c936e59b67149a9f90ede4627f64be6c20d35.tar.gz
make OBJECT_FMT test of installed packages work again.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 5ae7ff051b5..c9674765b90 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -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"; \