Skip to content
Permalink
Browse files

More dependency madness

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@191 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
landonf committed Aug 18, 2002
1 parent 6dcd9f8 commit 543115d5a0420a86525b7ba6c75f5a84ba4ea0b2
Showing with 10 additions and 2 deletions.
  1. +10 −2 Tcl/port1.0/portutil.tcl
@@ -55,6 +55,7 @@ proc makeuserproc {name body} {
eval "proc $name {} $body"
}

# swdep_resolve
# XXX - Architecture specific
# XXX - Rely on information from internal defines in cctools/dyld:
# define DEFAULT_FALLBACK_FRAMEWORK_PATH
@@ -91,6 +92,7 @@ proc swdep_resolve {name chain} {
}
}
bin {
# XXX broken
lappend search_path $env(PATH)
}
default {
@@ -100,9 +102,15 @@ proc swdep_resolve {name chain} {
}
}
foreach path $search_path {
ui_debug "Now checking path: $path regex: $depregex"
# XXX XXX XXX XXX Broken XXX XXX XXX XXX
# Always executes. need to fix regex path checking
if {![file isdirectory $path]} {
continue
continue
}
if {![file isfile $path/$depregex]} {
global sysportpath
build $sysportpath/software/$portname build make
return 0
}
}
return 0

0 comments on commit 543115d

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