Skip to content
Permalink
Browse files

Recognize portnames with a '-'.

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@996 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Kevin Van Vechten
Kevin Van Vechten committed Oct 8, 2002
1 parent 7382e71 commit 36e9dc4c561f69a0ccfcb166c1403c9bf24c8a99
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/port1.0/portdepends.tcl
@@ -51,7 +51,7 @@ proc handle_depends_options {option action args} {
switch -regex $action {
set|append {
foreach depspec $args {
if {[regexp {([A-Za-z\./0-9]+):([A-Za-z0-9\-\.$^\?\+\(\)\|\\]+):([A-Za-z\./0-9]+)} "$depspec" match deppath depregex portname] == 1} {
if {[regexp {([A-Za-z\./0-9]+):([A-Za-z0-9\-\.$^\?\+\(\)\|\\]+):([-A-Za-z\./0-9]+)} "$depspec" match deppath depregex portname] == 1} {
switch $deppath {
lib { set obj [libportfile_new $portname $depregex] }
bin { set obj [binportfile_new $portname $depregex] }

0 comments on commit 36e9dc4

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