  		if [ -d "$pdb/$OPTARG" ]; then
  			glob_dirs=$OPTARG
  		else
-@@ -812,7 +827,12 @@
+@@ -818,7 +833,12 @@
  		fi
  		unset INDEXFILE INDEXDIR
  

 	PM_VERBOSE=pmv_check_depends
 IFS='
 '
@@ -1440,6 +1533,7 @@
 fi
 
 if [ -n "$CHECK_PORT_DBDIR" ]; then

 				if [ ! -d "${pdb}/${pkg_dir}" ]; then
 					echo "	===>>> $pkg_dir is not installed"
 					echo "	===>>> Path: ${package}"
@@ -1406,6 +1498,7 @@
 fi	# [ -n "$CLEAN_PACKAGES" ]
 
 if [ -n "$CHECK_DEPENDS" ]; then
