Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / filesystems / openafs / options.mk
blobe284f24927e4023868ed0794951bdc65ebd9821d
1 # $NetBSD: options.mk,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
3 .include "../../mk/bsd.prefs.mk"
5 PKG_OPTIONS_VAR= PKG_OPTIONS.openafs
6 PKG_SUPPORTED_OPTIONS+= server bitmap-later bos-new-config fast-restart
7 PKG_SUPPORTED_OPTIONS+= largefile kernel-module supergroups namei
8 .if ${MACHINE_ARCH} != "x86_64"
9 PKG_SUPPORTED_OPTIONS+= pam
10 .endif
11 PKG_SUGGESTED_OPTIONS= server bitmap-later bos-new-config fast-restart
12 PKG_SUGGESTED_OPTIONS+= namei largefile -kernel-module supergroups
14 .include "../../mk/bsd.options.mk"
16 .if !empty(PKG_OPTIONS:Msupergroups)
17 CONFIGURE_ARGS+= --enable-supergroups
18 .endif
19 .if !empty(PKG_OPTIONS:Mbitmap-later)
20 CONFIGURE_ARGS+= --enable-bitmap-later
21 .endif
22 .if !empty(PKG_OPTIONS:Mbos-new-config)
23 CONFIGURE_ARGS+= --enable-bos-new-config
24 .endif
25 .if !empty(PKG_OPTIONS:Mfast-restart)
26 CONFIGURE_ARGS+= --enable-fast-restart
27 .endif
28 .if !empty(PKG_OPTIONS:Mlargefile)
29 CONFIGURE_ARGS+= --enable-largefile-fileserver
30 .endif
31 .if !empty(PKG_OPTIONS:Mkernel-module)
32 CONFIGURE_ARGS+= --enable-kernel-module
33 .else
34 CONFIGURE_ARGS+= --disable-kernel-module
35 .endif
36 .if !empty(PKG_OPTIONS:Mnamei)
37 CONFIGURE_ARGS+= --enable-namei-fileserver
38 .endif
39 .if !empty(PKG_OPTIONS:Mpam)
40 CONFIGURE_ARGS+= --enable-pam
41 .include "../../mk/pam.buildlink3.mk"
42 PLIST_SRC+= ${.CURDIR}/PLIST.pam
43 .else
44 CONFIGURE_ARGS+= --disable-pam
45 .endif