Ticket #39635: muniversal-botan-patch.diff
File muniversal-botan-patch.diff, 1.2 KB (added by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), 11 years ago) |
---|
-
Portfile
old new 1 1 # $Id: Portfile 106660 2013-06-03 20:52:10Z raimue@macports.org $ 2 2 3 3 PortSystem 1.0 4 PortGroup muniversal 1.0 4 5 5 6 name botan 6 7 version 1.10.5 … … 34 35 35 36 platform darwin { configure.args-append --os=darwin } 36 37 38 if {![variant_isset universal]} { 37 39 if {[info exists build_arch] && ${os.platform} == "darwin"} { 38 40 if {(${build_arch} == "i386")} { 39 41 configure.args-append --cpu=ia32 … … 51 53 } else { 52 54 build.args CXX="${configure.cxx}" 53 55 } 56 } else { 57 # botan way of setting cpu type in build phase 58 array set merger_configure_args { 59 ppc --cpu=ppc 60 i386 --cpu=ia32 61 ppc64 --cpu=ppc64 62 x86_64 --cpu=amd64 63 } 64 65 # the arch flag is lost in the build phase, so put it back 66 foreach arch ${configure.universal_archs} { 67 lappend merger_build_args(${arch}) CXX='${configure.cxx} -arch ${arch}' 68 } 69 } 54 70 55 universal_variant no 71 # configure.py rejects this argument 72 configure.universal_args-delete --disable-dependency-tracking 56 73 57 74 livecheck.regex "(?i)<title>botan (1.*.*)</title>"