Ticket #42728: patch-gnutls-3.3.3-rev1.diff
File patch-gnutls-3.3.3-rev1.diff, 1.9 KB (added by dbevans (David B. Evans), 10 years ago) |
---|
-
Portfile
6 6 7 7 name gnutls 8 8 version 3.3.3 9 revision 1 9 10 set branch [join [lrange [split ${version} .] 0 1] .] 10 11 categories devel security 11 12 # yes, some of the libs are GPL only … … 43 44 eval reinplace {/^#/d} [glob ${worksrcpath}/lib/accelerated/x86/macosx/*.s] 44 45 } 45 46 47 # use autoreconf to update glibtool to correctly handle -std 48 46 49 use_autoreconf yes 47 50 autoreconf.args -fvi 48 51 49 52 configure.args --disable-guile \ 50 53 --disable-silent-rules \ 51 --with-p11-kit 54 --disable-libdane \ 55 --enable-local-libopts \ 56 --with-p11-kit \ 57 --with-system-priority-file="${prefix}/etc/gnutls/default-priorities" \ 58 --with-unbound-root-key-file="${prefix}/etc/unbound/root.key" 52 59 53 if {[variant_isset universal]} { 60 variant dane description {Build libdane using unbound libraries} { 61 depends_lib-append port:unbound 62 configure.args-delete --disable-libdane 63 } 64 65 # unbound does not currently install/update ${prefix}/etc/unbound/root.key 66 # so user may have to do it manually for DANE support (#43881) 67 68 if {[variant_isset dane] && ![file exists ${prefix}/etc/unbound/root.key]} { 69 notes " 70 *** 71 *** WARNING: 72 *** 73 *** The DNSSEC root key file in ${prefix}/etc/unbound/root.key was not found. 74 *** This file is needed for the verification of DNSSEC responses. 75 *** Use the command: sudo unbound-anchor -a \"${prefix}/etc/unbound/root.key\" 76 *** to generate or update it. 77 *** 78 " 79 } 80 81 if {[variant_isset universal]} { 54 82 set merger_host(x86_64) x86_64-apple-${os.platform}${os.major} 55 83 set merger_host(i386) i686-apple-${os.platform}${os.major} 56 84 set merger_configure_args(x86_64) --build=x86_64-apple-${os.platform}${os.major}