Ticket #42728: Portfile-gnutls.2.diff
File Portfile-gnutls.2.diff, 2.2 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.3. 38 version 3.3.4 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 e225247ec82513354a6bdc3be6246377 \ 27 rmd160 cebd6a17fe9b7ebc8f0f9abb6218c195456ee468 \ 28 sha256 8cd8cc7d4dcd4f73e85a6ebfa9463860b671d65f23d57354a6dfe86b7e83a036 26 checksums rmd160 9e61797428035cdaf6e3ac86103ead5cf7f02de7 \ 27 sha256 04a53b2bbb936b02cdc62f68144f9706e256cc85cc530b81266a24d80b824357 29 28 30 29 use_xz yes 31 30 … … 43 42 eval reinplace {/^#/d} [glob ${worksrcpath}/lib/accelerated/x86/macosx/*.s] 44 43 } 45 44 45 # use autoreconf to update glibtool to correctly handle -std 46 46 use_autoreconf yes 47 47 autoreconf.args -fvi 48 48 49 49 configure.args --disable-guile \ 50 50 --disable-silent-rules \ 51 --with-p11-kit 51 --disable-libdane \ 52 --enable-local-libopts \ 53 --with-p11-kit \ 54 --with-system-priority-file="${prefix}/etc/gnutls/default-priorities" 55 56 variant dane description {Build libdane using unbound libraries} { 57 depends_lib-append port:unbound 58 configure.args-append --with-unbound-root-key-file="${prefix}/etc/unbound/root.key" 59 configure.args-delete --disable-libdane 60 } 61 62 # unbound does not currently install/update ${prefix}/etc/unbound/root.key 63 # so user may have to do it manually for DANE support (#43881) 64 65 if {[variant_isset dane] && ![file exists ${prefix}/etc/unbound/root.key]} { 66 notes " 67 *** 68 *** WARNING: 69 *** 70 *** The DNSSEC root key file in ${prefix}/etc/unbound/root.key was not found. 71 *** This file is needed for the verification of DNSSEC responses. 72 *** Use the command: sudo unbound-anchor -a \"${prefix}/etc/unbound/root.key\" 73 *** to generate or update it. 74 *** 75 " 76 } 52 77 53 78 if {[variant_isset universal]} { 54 79 set merger_host(x86_64) x86_64-apple-${os.platform}${os.major}