  			fi
  			origin=`origin_from_pdb $port` ;;
  		esac
-@@ -3036,7 +3239,12 @@
+@@ -3036,7 +3240,12 @@
  	/*)	echo '' ; no_valid_port ;;
  	*/*)	portdir=$argv ;;
  	\.)	portdir=${PWD##*/ports/} ;; # Not always $pd, could be symlink

 	done
 
 	if [ -n "$PM_URB_LIST" ]; then
@@ -2656,7 +2844,11 @@
 
 	for req_by in $PM_URB_LIST; do
 		# Probably not needed, but JIC

 	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 +4121,29 @@
 	echo ''
 fi
 
