pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/security/p11-kit Fix build on SunOS. From Thomas Merk...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/52335a04e477
branches:  trunk
changeset: 367134:52335a04e477
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Aug 24 14:50:19 2017 +0000

description:
Fix build on SunOS.  From Thomas Merkel in NetBSD/pkgsrc#13.

diffstat:

 security/p11-kit/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r b32a5cc2f9ff -r 52335a04e477 security/p11-kit/Makefile
--- a/security/p11-kit/Makefile Thu Aug 24 14:09:05 2017 +0000
+++ b/security/p11-kit/Makefile Thu Aug 24 14:50:19 2017 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index