[44901] trunk/base/src/port1.0/portutil.tcl

toby at macports.org toby at macports.org
Sun Jan 4 07:50:06 PST 2009


Revision: 44901
          http://trac.macports.org/changeset/44901
Author:   toby at macports.org
Date:     2009-01-04 07:50:06 -0800 (Sun, 04 Jan 2009)
Log Message:
-----------
Fix #17865: deleting all default configure flags causes error.

Modified Paths:
--------------
    trunk/base/src/port1.0/portutil.tcl

Modified: trunk/base/src/port1.0/portutil.tcl
===================================================================
--- trunk/base/src/port1.0/portutil.tcl	2009-01-04 15:48:17 UTC (rev 44900)
+++ trunk/base/src/port1.0/portutil.tcl	2009-01-04 15:50:06 UTC (rev 44901)
@@ -125,11 +125,7 @@
         foreach val $args {
             set temp [ldelete $temp $val]
         }
-        if {$temp eq ""} {
-            unset $option
-        } else {
-            set $option $temp
-        }
+        set $option $temp
     }
 }
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090104/f09ce06c/attachment.html>


More information about the macports-changes mailing list