diff options
author | jperkin <jperkin@pkgsrc.org> | 2017-08-24 14:50:19 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2017-08-24 14:50:19 +0000 |
commit | a88bcc8fb9406757c7ece1b5be2864586c519d99 (patch) | |
tree | 77fdcb777fcd6929ce42063fb2bf445ad2b504d3 | |
parent | e4331b123a164d887cc68dc85ee2b9706ce5581e (diff) | |
download | pkgsrc-a88bcc8fb9406757c7ece1b5be2864586c519d99.tar.gz |
Fix build on SunOS. From Thomas Merkel in NetBSD/pkgsrc#13.
-rw-r--r-- | security/p11-kit/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
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 |