[76346] trunk/dports/science/smodels/Portfile

Ryan Schmidt ryandesign at macports.org
Sun Feb 20 04:49:35 PST 2011


On Feb 20, 2011, at 06:42, Jeremy Lavergne wrote:

>> if {[variant_isset universal]} { configure.cxx-append ${universal.cxxflags} } else {  ${configure.cxx_archflags} }
> 
> We'll just count that line as psuedocode! Wow that was horrible.
> 
> I also meant configure.universal_cxxflags.

Yeah that's pretty much the way to go. You may also have to do similarly with ldflags.

You'll also have to actually add a universal variant, but making it empty is enough.

variant universal {}





More information about the macports-dev mailing list