summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authormaya <maya@pkgsrc.org>2017-01-07 18:49:16 +0000
committermaya <maya@pkgsrc.org>2017-01-07 18:49:16 +0000
commitaf5dd1aaa021cd7e31d2924f8f7037c1a80a8809 (patch)
tree9044d2e8a0b152007ba9c2c7b6f67219b0b33c20 /security
parent07cf5cd18263d062130648995898d2fb819bbb5d (diff)
downloadpkgsrc-af5dd1aaa021cd7e31d2924f8f7037c1a80a8809.tar.gz
gnutls: don't redefine max_align_t on FreeBSD. It incorrectly fails the
configure test because the type in stddef.h is guarded by a c11 macro (most likely). Force the configure test to pass. From David Shao in PR pkg/51793 (originally from FreeBSD ports).
Diffstat (limited to 'security')
-rw-r--r--security/gnutls/Makefile22
1 files changed, 12 insertions, 10 deletions
diff --git a/security/gnutls/Makefile b/security/gnutls/Makefile
index dbddc8a74c8..1032d9e8cff 100644
--- a/security/gnutls/Makefile
+++ b/security/gnutls/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.167 2016/09/20 08:40:15 wiz Exp $
+# $NetBSD: Makefile,v 1.168 2017/01/07 18:49:16 maya Exp $
DISTNAME= gnutls-3.5.4
PKGREVISION= 1
@@ -34,15 +34,15 @@ TEST_TARGET= check
INFO_FILES= yes
-REPLACE_BASH+= tests/cert-tests/openpgp-certs
-REPLACE_BASH+= tests/danetool.sh
-REPLACE_BASH+= tests/ocsp-tests/ocsp-must-staple-connection
-REPLACE_BASH+= tests/ocsp-tests/ocsp-tls-connection
-REPLACE_BASH+= tests/key-tests/dsa
-REPLACE_BASH+= tests/suite/testcompat-main-polarssl
-REPLACE_BASH+= tests/suite/testcompat-main-openssl
-REPLACE_BASH+= tests/fastopen.sh
-REPLACE_BASH+= tests/starttls.sh
+REPLACE_BASH+= tests/cert-tests/openpgp-certs
+REPLACE_BASH+= tests/danetool.sh
+REPLACE_BASH+= tests/ocsp-tests/ocsp-must-staple-connection
+REPLACE_BASH+= tests/ocsp-tests/ocsp-tls-connection
+REPLACE_BASH+= tests/key-tests/dsa
+REPLACE_BASH+= tests/suite/testcompat-main-polarssl
+REPLACE_BASH+= tests/suite/testcompat-main-openssl
+REPLACE_BASH+= tests/fastopen.sh
+REPLACE_BASH+= tests/starttls.sh
REPLACE_PERL+= doc/scripts/gdoc doc/scripts/sort2.pl
@@ -57,6 +57,8 @@ EGDIR= ${PREFIX}/share/examples/gnutls
# Assembler support is broken for SunOS in 3.2.9.
CONFIGURE_ARGS.SunOS+= --disable-hardware-acceleration
+CONFIGURE_ARGS.FreeBSD+= ac_cv_type_max_align_t=yes
+
INSTALLATION_DIRS= ${DOCDIR} ${EGDIR} include/gnutls
post-install: