# -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:sw=4:ts=4:sts=4
PortGroup compiler_blacklist_versions 1.0
PortGroup snowleopard_fixes 1.0
set branch [join [lrange [split ${version} .] 0 1] .]
categories devel security
# yes, some of the libs are GPL only
maintainers {mps @Schamschula} openmaintainer
description GNU Transport Layer Security Library
homepage http://www.gnutls.org/
GnuTLS is a portable ANSI C based library which implements the TLS 1.2, \
TLS 1.1, TLS 1.0, SSL 3.0, and Datagram TLS protocols. The library does \
not include any patented algorithms \
and is available under the GNU Lesser General Public License (LGPL).
master_sites https://www.gnupg.org/ftp/gcrypt/gnutls/v${branch}/ \
http://mirrors.dotsrc.org/gcrypt/gnutls/v${branch}/
checksums rmd160 5fc41c32d875395d4b27ce07837b0b59e69821bd \
sha256 1936eb64f03aaefd6eb16cef0567457777618573826b94d03376bb6a4afadc44 \
patchfiles patch-lib-system-certs.c.diff
# Remove comments which confuse at least Leopard's assembler.
reinplace {/^#/d} {*}[glob ${worksrcpath}/lib/accelerated/x86/macosx/*.s]
# use autoreconf to update glibtool to correctly handle -std
configure.args --disable-guile \