summaryrefslogtreecommitdiff
path: root/security/libgcrypt
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2016-04-22 08:28:46 +0000
committerjperkin <jperkin@pkgsrc.org>2016-04-22 08:28:46 +0000
commit9a6eeb4bad4bf2cc7f3144a14d0fb85c6d3bf331 (patch)
tree2d685ddcc943f44c39211d798773c771601016a9 /security/libgcrypt
parent102d219212c24ca10db28fd54df812c662d33763 (diff)
downloadpkgsrc-9a6eeb4bad4bf2cc7f3144a14d0fb85c6d3bf331.tar.gz
Use --disable-pclmul-support on Linux and SunOS i386, the inline assembly
does not compile on either.
Diffstat (limited to 'security/libgcrypt')
-rw-r--r--security/libgcrypt/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/security/libgcrypt/Makefile b/security/libgcrypt/Makefile
index 2f584e05778..93569ac2a67 100644
--- a/security/libgcrypt/Makefile
+++ b/security/libgcrypt/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.75 2016/04/18 06:19:57 wiz Exp $
+# $NetBSD: Makefile,v 1.76 2016/04/22 08:28:46 jperkin Exp $
DISTNAME= libgcrypt-1.7.0
CATEGORIES= security
@@ -29,6 +29,11 @@ CONFIGURE_ARGS+= --disable-asm
.endif
CONFIGURE_ARGS+= --disable-aesni-support
+.if !empty(MACHINE_PLATFORM:MLinux-*-i386) || \
+ !empty(MACHINE_PLATFORM:MSunOS-*-i386)
+CONFIGURE_ARGS+= --disable-pclmul-support
+.endif
+
# SCO OpenServer 5.0.7/3.2 has no socklen_t, but it is defined in pthread.h
# from builtin GNU pth.
.if ${OS_VARIANT} == "SCOOSR5"