  		esac
  	done
  	exit 0
-@@ -2243,7 +2382,12 @@
+@@ -2243,7 +2384,12 @@
  			fail "No entry for $origin in $PM_INDEX"
  	fi
  

 	[ -d "$port_dbdir" ] ||
 		fail 'PORT_DBIR is empty, or the directory $port_dbdir does not exist'
 
@@ -1610,14 +1704,19 @@
 				unset port_ver
 			fi
 		else

 		    sort - $ldconfig_out | uniq -d`; do
 			temp="${temp}$file "
 		done
@@ -3743,29 +3940,32 @@
 	fi
 fi
 
