Ticket #67108: Portfile.diff

File Portfile.diff, 728 bytes (added by vk1kcm (Carl Makin), 20 months ago)

Tabs replaced with spaces and just the native patch.

  • Portfile

    old new  
    5555        set merger_configure_args(x86_64) configure.args-append --enable-optimizations=x86-64
    5656        set merger_configure_args(i386)   configure.args-append --enable-optimizations=i686
    5757    } elseif {[variant_isset native]} {
    58         configure.args-append --enable-optimizations=native
     58        if {${configure.build_arch} eq "arm64"} {
     59            configure.args-append --enable-optimizations=nativeARM
     60        } else {
     61            configure.args-append --enable-optimizations=native
     62        }
    5963    } else {
    6064        switch -- ${configure.build_arch} {
    6165            x86_64 { configure.args-append --enable-optimizations=x86-64 }