Ticket #48022: openssl2.patch

File openssl2.patch, 947 bytes (added by larryv (Lawrence Velázquez), 9 years ago)

avoid x86-64 assembly on Tiger, maybe

  • dports/devel/openssl/Portfile

    diff --git a/dports/devel/openssl/Portfile b/dports/devel/openssl/Portfile
    index 97430e6..59553cd 100644
    a b array set merger_configure_args { 
    6161    ppc64   darwin64-ppc-cc
    6262    x86_64  darwin64-x86_64-cc
    6363}
    64 # Don't use i386 assembly on Tiger (#38015, #43303).
    65 platform darwin 8 {
    66     append merger_configure_args(i386) { no-asm}
    67 }
    68 # Don't use x86-64 assembly on Leopard.
    69 platform darwin 9 {
    70     append merger_configure_args(x86_64) { no-asm}
     64platform darwin {
     65    # Don't use i386 assembly on Tiger (#38015, #43303).
     66    if {${os.major} <= 8} {
     67        append merger_configure_args(i386) { no-asm}
     68    }
     69    # Don't use x86-64 assembly on Tiger or Leopard.
     70    if {${os.major} <= 9} {
     71        append merger_configure_args(x86_64) { no-asm}
     72    }
    7173}
    7274# Don't pass --host to configure.
    7375array set merger_host {ppc {} i386 {} ppc64 {} x86_64 {}}