Ticket #44323: gnutls.2.diff
File gnutls.2.diff, 1.0 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 global mtime 45 # Save old mtime. 46 set mtime [file mtime ${worksrcpath}/lib/includes/gnutls/gnutls.h.in] 47 } 48 49 patchfiles patch-lib-includes-gnutls-gnutls.h.in.diff 50 42 51 post-patch { 52 global mtime 53 # Restore old mtime so that it doesn't try to regenerate documentation, which fails on OS X. 54 file mtime ${worksrcpath}/lib/includes/gnutls/gnutls.h.in ${mtime} 55 43 56 # Remove comments which confuse at least Leopard's assembler. 44 57 eval reinplace {/^#/d} [glob ${worksrcpath}/lib/accelerated/x86/macosx/*.s] 45 58 }