[MacPorts] #19224: BUG: variant_isset does not work on required variants

MacPorts noreply at macports.org
Thu Oct 22 22:43:15 PDT 2009


#19224: BUG: variant_isset does not work on required variants
---------------------------------+------------------------------------------
 Reporter:  raimue@…             |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:  MacPorts Future                      
Component:  base                 |     Version:  1.7.1                                
 Keywords:  variants requires    |        Port:                                       
---------------------------------+------------------------------------------

Comment(by perry@…):

 Example Run:
 {{{
 perry at phoenix_lan ~/src/lports/devel/foo % port variants
 Thu Oct 22 22:40:57
 foo has the variants:
    bar
      * requires baz
    baz
    foo
      * requires bar
 perry at phoenix_lan ~/src/lports/devel/foo % sudo port build +foo
 Thu Oct 22 22:41:00
 Warning: foo has no universal variant
 Variant baz evaluated!
 Variant bar evaluated!
 Variant foo evaluated!
 --->  Computing dependencies for foo
 --->  Fetching foo
 --->  Verifying checksum(s) for foo
 --->  Extracting foo
 --->  Configuring foo
 --->  Building foo
 Variant +foo is set!
 Variant +bar is set!
 Variant +baz is set!
 perry at phoenix_lan ~/src/lports/devel/foo % sudo port clean
 Thu Oct 22 22:41:14
 Warning: foo has no universal variant
 --->  Cleaning foo
 perry at phoenix_lan ~/src/lports/devel/foo % sudo port build +bar
 Thu Oct 22 22:41:39
 Warning: foo has no universal variant
 Variant baz evaluated!
 Variant bar evaluated!
 --->  Computing dependencies for foo
 --->  Fetching foo
 --->  Verifying checksum(s) for foo
 --->  Extracting foo
 --->  Configuring foo
 --->  Building foo
 Variant +bar is set!
 Variant +baz is set!
 }}}

-- 
Ticket URL: <http://trac.macports.org/ticket/19224#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list