~cypheon/pkgsrc-wip

pkgsrc-wip/pam-pkcs11/options.mk -rw-r--r-- 640 bytes
5f1bf4f5 — Johann Rudloff Subst PLIST paths for platform specific files for other architectures 6 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $NetBSD: options.mk,v 1.5 2012/11/26 00:49:51 lexort Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.pam-pkcs11
PKG_SUPPORTED_OPTIONS=	pcsc-lite ldap
# In 0.6.8, pcsc-lite is apparently required.
PKG_SUGGESTED_OPTIONS=	pcsc-lite

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mpcsc-lite)
.include "../../security/pcsc-lite/buildlink3.mk"
CONFIGURE_ARGS+=	--with-pcsclite
PLIST_SRC+=		PLIST.pcsc-lite
.else
CONFIGURE_ARGS+=	--without-pcscs-lite
.endif

.if !empty(PKG_OPTIONS:Mldap)
.include "../../databases/openldap-client/buildlink3.mk"
CONFIGURE_ARGS+=	--with-ldap
PLIST_SRC+=		PLIST.ldap
.else
CONFIGURE_ARGS+=	--without-ldap
.endif