--- base/src/port1.0/portdepends.tcl.orig	2007-05-08 17:30:30.000000000 -0600
+++ base/src/port1.0/portdepends.tcl	2008-08-19 01:45:15.000000000 -0600
@@ -48,8 +48,8 @@
 		set {
 			foreach depspec $value {
 				switch -regex $depspec {
-					^(lib|bin|path):([-A-Za-z0-9_/.${}^?+()|\\\\]+):([-._A-Za-z0-9]+)$ {}
-					^(port):([-._A-Za-z0-9]+)$ {}
+					^(lib|bin|path):([-A-Za-z0-9_/.${}^?+()|\\\\]+):([-._A-Za-z0-9|]+)$ {}
+					^(port):([-._A-Za-z0-9|]+)$ {}
 					default { return -code error [format [msgcat::mc "invalid depspec: %s"] $depspec] }
 				}
 			}

