  
  	if [ -e "$pdb/$1/+REQUIRED_BY" ]; then
  		sort $pdb/$1/+REQUIRED_BY | cmp -s $grep_deps - || do_update=do_update
-@@ -1324,11 +1422,13 @@
+@@ -1324,11 +1424,13 @@
  
  	echo "===>>> Checking for stale packages"
  	for package in `find $PACKAGES -type f | sort`; do

 else
 	[ -n "$local_package" ] && ppd=${LOCAL_PACKAGEDIR}/All
 
@@ -3743,29 +4011,32 @@
 	fi
 fi
 

 		[ `/sbin/sysctl -n kern.osreldate 2>/dev/null` -lt 600400 ] &&
 			fail Package installation support requires FreeBSD 6.4 or newer
 	fi
@@ -818,7 +856,12 @@
 		fi
 		unset INDEXFILE INDEXDIR
 
