Ticket #44323: gnutls.3.diff
File gnutls.3.diff, 1.7 KB (added by ryandesign (Ryan Carsten Schmidt), 10 years ago) |
---|
-
Portfile
6 6 7 7 name gnutls 8 8 version 3.3.5 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 … … 39 40 port:nettle \ 40 41 path:share/curl/curl-ca-bundle.crt:curl-ca-bundle 41 42 43 pre-patch { 44 # Save old mtimes. 45 global mtime_abstract mtime_gnutls mtime_ocsp mtime_pkcs11 mtime_x509 46 set mtime_abstract [file mtime ${worksrcpath}/lib/includes/gnutls/abstract.h] 47 set mtime_gnutls [file mtime ${worksrcpath}/lib/includes/gnutls/gnutls.h.in] 48 set mtime_ocsp [file mtime ${worksrcpath}/lib/includes/gnutls/ocsp.h] 49 set mtime_pkcs11 [file mtime ${worksrcpath}/lib/includes/gnutls/pkcs11.h] 50 set mtime_x509 [file mtime ${worksrcpath}/lib/includes/gnutls/x509.h] 51 } 52 53 patchfiles patch-c89.diff 54 42 55 post-patch { 56 # Restore old mtimes so that it doesn't try to regenerate documentation, which fails on OS X. 57 global mtime_abstract mtime_gnutls mtime_ocsp mtime_pkcs11 mtime_x509 58 file mtime ${worksrcpath}/lib/includes/gnutls/abstract.h ${mtime_abstract} 59 file mtime ${worksrcpath}/lib/includes/gnutls/gnutls.h.in ${mtime_gnutls} 60 file mtime ${worksrcpath}/lib/includes/gnutls/ocsp.h ${mtime_ocsp} 61 file mtime ${worksrcpath}/lib/includes/gnutls/pkcs11.h ${mtime_pkcs11} 62 file mtime ${worksrcpath}/lib/includes/gnutls/x509.h ${mtime_x509} 63 43 64 # Remove comments which confuse at least Leopard's assembler. 44 65 eval reinplace {/^#/d} [glob ${worksrcpath}/lib/accelerated/x86/macosx/*.s] 45 66 }