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
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
19 .if
!empty
(PKG_OPTIONS
:Mbitmap-later
)
20 CONFIGURE_ARGS
+= --enable-bitmap-later
22 .if
!empty
(PKG_OPTIONS
:Mbos-new-config
)
23 CONFIGURE_ARGS
+= --enable-bos-new-config
25 .if
!empty
(PKG_OPTIONS
:Mfast-restart
)
26 CONFIGURE_ARGS
+= --enable-fast-restart
28 .if
!empty
(PKG_OPTIONS
:Mlargefile
)
29 CONFIGURE_ARGS
+= --enable-largefile-fileserver
31 .if
!empty
(PKG_OPTIONS
:Mkernel-module
)
32 CONFIGURE_ARGS
+= --enable-kernel-module
34 CONFIGURE_ARGS
+= --disable-kernel-module
36 .if
!empty
(PKG_OPTIONS
:Mnamei
)
37 CONFIGURE_ARGS
+= --enable-namei-fileserver
39 .if
!empty
(PKG_OPTIONS
:Mpam
)
40 CONFIGURE_ARGS
+= --enable-pam
41 .
include "../../mk/pam.buildlink3.mk"
42 PLIST_SRC
+= ${.CURDIR
}/PLIST.pam
44 CONFIGURE_ARGS
+= --disable-pam