  		\<)	# Could happen if ports tree is out of date
  			use_package=up_old_tree
  			pm_v "===>>> Available package ($latest_pv)"
-@@ -3613,7 +3782,12 @@
+@@ -3640,7 +3809,12 @@
  		    grep -v ^$LOCALBASE_COMPAT > $ldconfig_out
  
  		unset temp

 		export PM_INDEX_PORTS
 
 		if [ -z "$pd" -o "$pd" != /usr/ports ]; then
@@ -869,6 +889,10 @@
 iport_from_origin () {
 	local sn dir
 

 
 		if [ -z "$PM_INDEX" ]; then
 			if [ -d "$pd/$origin" ]; then
@@ -1344,8 +1423,21 @@
 		fi
 
 		if [ -n "$port_ver" ]; then
