Skip to content
Permalink
Browse files

For now, and it fixes ethereal without breaking anything else so I think

it's a good fix, trap unreferenced options in options_proc_trace and simply
return normally when encountering one.  The depends_lib-delete statement
in ethereal *is* working, it's just causing this error as a side-effect so
detect it here.  Longer term, I'll continue to look into why it's happening
at all and clobber it at the source.  This band-aid simply prevents it from
blowing us up.

git-svn-id: https://svn.macports.org/repository/macports/trunk/base@4466 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Jordan K. Hubbard
Jordan K. Hubbard committed Jan 5, 2004
1 parent 30197f6 commit 1df096ffd452fb36c0df73f7c85a23d583745942
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/port1.0/portutil.tcl
@@ -178,6 +178,9 @@ proc option_proc {option args} {
proc option_proc_trace {optionName index op} {
global option_procs
upvar $optionName optionValue
if {![info exists option_procs($optionName)]} {
return
}
switch $op {
w {
foreach p $option_procs($optionName) {

0 comments on commit 1df096f

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