[44079] trunk/base/src/port/port.tcl

raimue at macports.org raimue at macports.org
Sat Dec 20 19:35:24 PST 2008


Revision: 44079
          http://trac.macports.org/changeset/44079
Author:   raimue at macports.org
Date:     2008-12-20 19:35:23 -0800 (Sat, 20 Dec 2008)
Log Message:
-----------
port/port.tcl:
Enable mapping of friendly names in port search, see #15434

Modified Paths:
--------------
    trunk/base/src/port/port.tcl

Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl	2008-12-21 03:34:43 UTC (rev 44078)
+++ trunk/base/src/port/port.tcl	2008-12-21 03:35:23 UTC (rev 44079)
@@ -2220,6 +2220,9 @@
         foreach { option } [array names options ports_search_*] {
             set opt [string range $option 13 end]
 
+            # Map from friendly name
+            set opt [map_friendly_field_names $opt]
+
             if {[catch {eval set matches \[mportsearch \$searchstring no glob $opt\]} result]} {
                 global errorInfo
                 ui_debug "$errorInfo"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081220/10f23692/attachment-0001.html>


More information about the macports-changes mailing list