pkgsrc-Changes archive

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

CVS commit: pkgsrc/security/p11-kit



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu Aug 24 14:50:19 UTC 2017

Modified Files:
        pkgsrc/security/p11-kit: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/security/p11-kit/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/security/p11-kit/Makefile
diff -u pkgsrc/security/p11-kit/Makefile:1.4 pkgsrc/security/p11-kit/Makefile:1.5
--- pkgsrc/security/p11-kit/Makefile:1.4        Mon Apr  4 17:34:56 2016
+++ pkgsrc/security/p11-kit/Makefile    Thu Aug 24 14:50:19 2017
@@ -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.20150804
 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