[MacPorts] #44493: Support wildcard on versions

MacPorts noreply at macports.org
Wed Jul 30 02:29:11 PDT 2014


#44493: Support wildcard on versions
-----------------------------+--------------------------------
 Reporter:  ora.et.labora@…  |      Owner:  macports-tickets@…
     Type:  enhancement      |     Status:  new
 Priority:  Normal           |  Milestone:
Component:  base             |    Version:  2.3.1
 Keywords:                   |       Port:
-----------------------------+--------------------------------
 Out of consistency reasons, I'm very much surprised to notice that the
 following is *not* working:
 {{{
 $ port echo installed and gcc\*
 gcc45                          @4.5.4_6
 gcc45                          @4.5.4_8
 gcc45                          @4.5.4_9
 [..]

 $ port uninstall installed and gcc45@\*
 Error: No ports matched the given expression
 }}}

 while this works very well:

 {{{
 $ port uninstall installed and gcc45\*
 --->  Uninstalling gcc45 @4.5.4_8
 --->  Cleaning gcc45
 --->  Deactivating gcc45 @4.5.4_9
 --->  Cleaning gcc45
 --->  Uninstalling gcc45 @4.5.4_9
 --->  Cleaning gcc45
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/44493>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list