Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Changeset 24929

Show
Ignore:
Timestamp:
05/08/07 09:10:55 (19 months ago)
Author:
jberry@…
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.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/base/src/port1.0/portdepends.tcl

    r24678 r24929  
    5050                                switch -regex $depspec { 
    5151                                        ^(lib|bin|path):([-A-Za-z0-9_/.${}^?+()|\\\\]+):([-A-Za-z./0-9_]+)$ {} 
    52                                         ^(port):([-A-Za-z./0-9_]+)$ {} 
     52                                        ^(port):([-+A-Za-z./0-9_]+)$ {} 
    5353                                        default { return -code error [format [msgcat::mc "invalid depspec: %s"] $depspec] } 
    5454                                }