vpanels-pkgdepend-153-fix
changeset 8 f949115789a8
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vpanels-pkgdepend-153-fix	Thu Dec 02 12:39:52 2010 +0000
@@ -0,0 +1,23 @@
+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