diff -r e06e787fb463 usr/src/pkg/Makefile
--- a/usr/src/pkg/Makefile Wed Nov 24 15:02:13 2010 -0800
+++ b/usr/src/pkg/Makefile Thu Dec 02 04:34:32 2010 -0800
@@ -36,6 +36,10 @@
PKGARCH64_sparc=sparcv9
PKGARCH64_i386=amd64
+# Root of pkg image to use for dependency resolution
+# Normally / on the machine used to build the binaries
+PKGDEP_RESOLVE_IMAGE = /
+
# The name of the package repo in $(PKG_DIR)
PKGPUBLISHER_normal :sh= /usr/bin/uname -n
PKGPUBLISHER_wos = vpanels
@@ -162,7 +166,7 @@
#
$(RESS): $(DEPS)
- pkgdepend resolve -m $(DEPS)
+ pkgdepend -R $(PKGDEP_RESOLVE_IMAGE) resolve -m $(DEPS)
#
# Step 5a