Ticket #43753: Portfile.patch
File Portfile.patch, 1.8 KB (added by devernay (Frédéric Devernay), 10 years ago) |
---|
-
Portfile
old new 50 50 --disable-silent-rules \ 51 51 --with-p11-kit 52 52 53 # include time.h before config.h, or the standard C functions are never defined 54 patchfiles gnutls-timeh.patch 55 53 56 if {[variant_isset universal]} { 54 57 set merger_host(x86_64) x86_64-apple-${os.platform}${os.major} 55 58 set merger_host(i386) i686-apple-${os.platform}${os.major} 56 set merger_configure_args(x86_64) --build=x86_64-apple-${os.platform}${os.major} 57 set merger_configure_args(i386) --build=i686-apple-${os.platform}${os.major} 59 set merger_host(ppc) ppc-apple-${os.platform}${os.major} 60 set merger_host(ppc64) ppc64-apple-${os.platform}${os.major} 61 set merger_configure_args(x86_64) "--host=${build_arch}-apple-${os.platform}${os.major} --build=x86_64-apple-${os.platform}${os.major}" 62 set merger_configure_args(i386) "--host=${build_arch}-apple-${os.platform}${os.major} --build=i686-apple-${os.platform}${os.major}" 63 set merger_configure_args(ppc) "--host=${build_arch}-apple-${os.platform}${os.major} --build=ppc-apple-${os.platform}${os.major}" 64 set merger_configure_args(ppc64) "--host=${build_arch}-apple-${os.platform}${os.major} --build=ppc64-apple-${os.platform}${os.major}" 58 65 } elseif {${build_arch} eq "i386"} { 59 66 configure.args-append \ 60 67 --host=i686-apple-${os.platform}${os.major} \ 61 68 --build=i686-apple-${os.platform}${os.major} 62 } elseif {${build_arch} eq "x86_64" } {69 } elseif {${build_arch} eq "x86_64" || ${build_arch} eq "ppc64" || ${build_arch} eq "ppc"} { 63 70 configure.args-append \ 64 71 --host=${build_arch}-apple-${os.platform}${os.major} \ 65 72 --build=${build_arch}-apple-${os.platform}${os.major}