pkgsrc/security/p11-kit/Makefile
joerg 02847b53e7 Explicitly depend on the mozilla CA list for providing a trust anchor.
NetBSD doesn't ship a CA bundle by default.
2016-04-04 17:34:56 +00:00

33 lines
878 B
Makefile

# $NetBSD: Makefile,v 1.4 2016/04/04 17:34:56 joerg Exp $
#
DISTNAME= p11-kit-0.22.1
PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= http://p11-glue.freedesktop.org/releases/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://p11-glue.freedesktop.org/p11-kit.html
COMMENT= PKCS#11 module manager
LICENSE= modified-bsd
DEPENDS= mozilla-rootcerts>=1.0.20150804nb1:../../security/mozilla-rootcerts
CONFIGURE_ARGS+= --with-trust-paths=${PREFIX}/share/mozilla-rootcerts/cacert.pem
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
# dirfd(3)
CFLAGS.NetBSD+= -D_NETBSD_SOURCE
PKGCONFIG_OVERRIDE+= p11-kit/p11-kit-1.pc.in
PKG_SYSCONFSUBDIR= pkcs11
CONF_FILES+= share/examples/p11-kit/pkcs11.conf.example \
${PKG_SYSCONFDIR}/pkcs11.conf
.include "../../devel/libffi/buildlink3.mk"
.include "../../security/libtasn1/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"