Index: branches/releng-10/nanobsd/tools/package-build.sh
===================================================================
--- branches/releng-10/nanobsd/tools/package-build.sh	(revision 12611)
+++ branches/releng-10/nanobsd/tools/package-build.sh	(revision 12649)
@@ -29,9 +29,9 @@
 p_info Checking whether there are currently unmet dependencies
 RETVAL=0
-PKGS=`pkg_info | awk '{print $1}'`
+PKGS=`pkg info | awk '{print $1}'`
 for PKG in ${PKGS} ; do
   PKG_DEP_FAIL=""
-  for PKGDEP in `pkg_info -qr ${PKG} | awk '{print $2}'`; do
-    pkg_info -e ${PKGDEP} 
+  for PKGDEP in `pkg info -qr ${PKG} | awk '{print $2}'`; do
+    pkg info -e ${PKGDEP} 
     if [ $? -eq 1 ]; then
       PKG_DEP_FAIL="${PKG_DEP_FAIL} ${PKGDEP}"
