Skip to content
Permalink
Browse files

Allow {} in depspecs.

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@14529 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
pguyot committed Oct 10, 2005
1 parent 4808cad commit e8e4f236ea95ac8f47e63e8fb3b63a445854442b
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/port1.0/portdepends.tcl
@@ -1,6 +1,6 @@
# et:ts=4
# portdepends.tcl
# $Id: portdepends.tcl,v 1.42 2005/08/27 00:07:30 pguyot Exp $
# $Id: portdepends.tcl,v 1.43 2005/10/10 13:51:36 pguyot Exp $
#
# Copyright (c) 2002 - 2003 Apple Computer, Inc.
# All rights reserved.
@@ -48,7 +48,7 @@ proc validate_depends_options {option action args} {
set|append|delete {
foreach depspec $args {
switch -regex $depspec {
(lib|bin|path):([-A-Za-z0-9_/.$^?+()|\\\\]+):([-A-Za-z./0-9_]+) {}
(lib|bin|path):([-A-Za-z0-9_/.${}^?+()|\\\\]+):([-A-Za-z./0-9_]+) {}
(port):([-A-Za-z./0-9_]+) {}
default { return -code error [format [msgcat::mc "invalid depspec: %s"] $depspec] }
}

0 comments on commit e8e4f23

Please sign in to comment.
You can’t perform that action at this time.