  
  	echo "===>>> Checking $port_dbdir"
  
-@@ -1610,14 +1730,20 @@
+@@ -1610,14 +1736,20 @@
  				unset port_ver
  			fi
  		else

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

 	if grep -q DEPORIGIN $pdb/$new_port/+CONTENTS; then
 		echo "===>>> Updating dependencies for $new_port to match installed versions"
 		update_contents $pdb/$new_port/+CONTENTS
@@ -3879,27 +4127,29 @@
 	echo ''
 fi
 
