Ticket #43753: Portfile-gnutls.diff
File Portfile-gnutls.diff, 2.5 KB (added by Schamschula (Marius Schamschula), 10 years ago) |
---|
-
Portfile
old new 5 5 PortGroup muniversal 1.0 6 6 7 7 name gnutls 8 version 3. 1.228 version 3.3.2 9 9 set branch [join [lrange [split ${version} .] 0 1] .] 10 10 categories devel security 11 11 # yes, some of the libs are GPL only … … 23 23 24 24 master_sites ftp://ftp.gnutls.org/gcrypt/gnutls/v${branch}/ 25 25 26 checksums md5 dbce77e502a5643961d3683b6e8f3bd5 \ 27 rmd160 e2f229dc28cb3c6aafe9064d9b043f7fdfcdc81f \ 28 sha256 ef1aedf4118f2f7c75c1a13094ec70cdff92cb724d0413333b4079ea492b9dce 26 checksums rmd160 0ed3cdc2fa95e28e44f949ccd0e0d3082835a063 \ 27 sha256 133a630771835718a882ae595eec1ad1e852bddd95c9d561442400fbe25eb776 29 28 30 29 use_xz yes 31 30 … … 50 49 --disable-silent-rules \ 51 50 --with-p11-kit 52 51 52 # include time.h before config.h, or the standard C functions are never defined 53 patchfiles gnutls-timeh.patch 54 53 55 if {[variant_isset universal]} { 54 56 set merger_host(x86_64) x86_64-apple-${os.platform}${os.major} 55 57 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} 58 set merger_host(ppc) ppc-apple-${os.platform}${os.major} 59 set merger_host(ppc64) ppc64-apple-${os.platform}${os.major} 60 set merger_configure_args(x86_64) "--host=${build_arch}-apple-${os.platform}${os.major} --build=x86_64-apple-${os.platform}${os.major}" 61 set merger_configure_args(i386) "--host=${build_arch}-apple-${os.platform}${os.major} --build=i686-apple-${os.platform}${os.major}" 62 set merger_configure_args(ppc) "--host=${build_arch}-apple-${os.platform}${os.major} --build=ppc-apple-${os.platform}${os.major}" 63 set merger_configure_args(ppc64) "--host=${build_arch}-apple-${os.platform}${os.major} --build=ppc64-apple-${os.platform}${os.major}" 58 64 } elseif {${build_arch} eq "i386"} { 59 65 configure.args-append \ 60 66 --host=i686-apple-${os.platform}${os.major} \ 61 67 --build=i686-apple-${os.platform}${os.major} 62 } elseif {${build_arch} eq "x86_64" } {68 } elseif {${build_arch} eq "x86_64" || ${build_arch} eq "ppc64" || ${build_arch} eq "ppc"} { 63 69 configure.args-append \ 64 70 --host=${build_arch}-apple-${os.platform}${os.major} \ 65 71 --build=${build_arch}-apple-${os.platform}${os.major}