[24929] trunk/base/src/port1.0/portdepends.tcl

source_changes at macosforge.org source_changes at macosforge.org
Tue May 8 09:10:55 PDT 2007


Revision: 24929
          http://trac.macosforge.org/projects/macports/changeset/24929
Author:   jberry at macports.org
Date:     2007-05-08 09:10:55 -0700 (Tue, 08 May 2007)

Log Message:
-----------
Allow + in portnames as validated by portdepends. The pattern previous to r24678 didn't have this either, but the fix in r24678 to check the entire portname makes this issue appear.

Modified Paths:
--------------
    trunk/base/src/port1.0/portdepends.tcl

Modified: trunk/base/src/port1.0/portdepends.tcl
===================================================================
--- trunk/base/src/port1.0/portdepends.tcl	2007-05-08 16:01:17 UTC (rev 24928)
+++ trunk/base/src/port1.0/portdepends.tcl	2007-05-08 16:10:55 UTC (rev 24929)
@@ -49,7 +49,7 @@
 			foreach depspec $value {
 				switch -regex $depspec {
 					^(lib|bin|path):([-A-Za-z0-9_/.${}^?+()|\\\\]+):([-A-Za-z./0-9_]+)$ {}
-					^(port):([-A-Za-z./0-9_]+)$ {}
+					^(port):([-+A-Za-z./0-9_]+)$ {}
 					default { return -code error [format [msgcat::mc "invalid depspec: %s"] $depspec] }
 				}
 			}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070508/294912d8/attachment.html


More information about the macports-changes mailing list