[MacPorts] #35148: gegl 0.2.0_0 Syntax error before 'AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER'

MacPorts noreply at macports.org
Sat Aug 4 18:57:52 PDT 2012


#35148: gegl 0.2.0_0 Syntax error before
'AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER'
-----------------------------+----------------------------------------------
 Reporter:  jovo@…           |       Owner:  snc@…           
     Type:  defect           |      Status:  new             
 Priority:  Normal           |   Milestone:                  
Component:  ports            |     Version:  2.1.1           
 Keywords:  tiger leopard    |        Port:  gegl            
-----------------------------+----------------------------------------------

Comment(by snc@…):

 Replying to [comment:11 snc@…]:
 >     foreach header [glob ${worksrcpath}/{,*/,*/*/}*.h] {
 >         if {${os.major} < 10} {
 >             …
 >         }
 >     }

 If this does work and there's no need for other reinplace calls for the
 other OSes, it'd be wise to put the foreach inside the if block.

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


More information about the macports-tickets mailing list