Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix p11-kit build on illumos #13

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion security/p11-kit/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#

DISTNAME= p11-kit-0.22.1
PKGREVISION= 1
PKGREVISION= 2
CATEGORIES= security
MASTER_SITES= http://p11-glue.freedesktop.org/releases/

Expand All @@ -11,6 +11,8 @@ HOMEPAGE= https://p11-glue.freedesktop.org/p11-kit.html
COMMENT= PKCS#11 module manager
LICENSE= modified-bsd

USE_LANGUAGES= c99

DEPENDS= mozilla-rootcerts>=1.0.20150804nb1:../../security/mozilla-rootcerts

CONFIGURE_ARGS+= --with-trust-paths=${PREFIX}/share/mozilla-rootcerts/cacert.pem
Expand All @@ -19,6 +21,10 @@ GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config

# socketpair
LDFLAGS.SunOS+= -lsocket -lnsl
# getpwuid_r
CFLAGS.SunOS+= -D_POSIX_PTHREAD_SEMANTICS
# dirfd(3)
CFLAGS.NetBSD+= -D_NETBSD_SOURCE

Expand Down