# $OpenBSD: Makefile,v 1.10 2012/02/19 19:08:37 ajacoutot Exp $ COMMENT= library for loading and enumurating of PKCS\#11 modules DISTNAME= p11-kit-0.11 CATEGORIES= security SHARED_LIBS += p11-kit 0.0 # 0.0 HOMEPAGE= http://p11-glue.freedesktop.org/ MAINTAINER= Antoine Jacoutot # BSD-like PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB += c pthread MASTER_SITES= ${HOMEPAGE}releases/ USE_LIBTOOL= Yes CONFIGURE_STYLE=gnu CONFIGURE_ARGS= ${CONFIGURE_SHARED} \ --disable-gtk-doc \ --with-module-path=${PREFIX}/lib/pkcs11 # no translation yet CONFIGURE_ARGS += --disable-nls # some warning options not available with gcc < 4 CONFIGURE_ARGS += --disable-more-warnings FAKE_FLAGS= exampledir=${PREFIX}/share/examples/p11-kit/pkcs11 pre-configure: perl -pi -e 's,-lpthread,-pthread,g' ${WRKSRC}/configure .include