From a88bcc8fb9406757c7ece1b5be2864586c519d99 Mon Sep 17 00:00:00 2001 From: jperkin Date: Thu, 24 Aug 2017 14:50:19 +0000 Subject: Fix build on SunOS. From Thomas Merkel in NetBSD/pkgsrc#13. --- security/p11-kit/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/security/p11-kit/Makefile b/security/p11-kit/Makefile index df9d071a2f5..8d4f36de71e 100644 --- a/security/p11-kit/Makefile +++ b/security/p11-kit/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2016/04/04 17:34:56 joerg Exp $ +# $NetBSD: Makefile,v 1.5 2017/08/24 14:50:19 jperkin Exp $ # DISTNAME= p11-kit-0.22.1 @@ -16,12 +16,16 @@ DEPENDS= mozilla-rootcerts>=1.0.20150804nb1:../../security/mozilla-rootcerts CONFIGURE_ARGS+= --with-trust-paths=${PREFIX}/share/mozilla-rootcerts/cacert.pem GNU_CONFIGURE= yes +USE_LANGUAGES= c99 USE_LIBTOOL= yes USE_TOOLS+= pkg-config # dirfd(3) CFLAGS.NetBSD+= -D_NETBSD_SOURCE +CFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS +LDFLAGS.SunOS+= -lsocket -lnsl + PKGCONFIG_OVERRIDE+= p11-kit/p11-kit-1.pc.in PKG_SYSCONFSUBDIR= pkcs11 -- cgit v1.2.3