summaryrefslogtreecommitdiff
path: root/filesystems/openafs-devel/options.mk
diff options
context:
space:
mode:
authorjakllsch <jakllsch>2012-08-30 17:37:54 +0000
committerjakllsch <jakllsch>2012-08-30 17:37:54 +0000
commit5f9f45e8e9b11d1f7c65faab35096b379f390462 (patch)
tree52178e2662346ce3e1ba613c41a8911d1bbebc74 /filesystems/openafs-devel/options.mk
parent7a8e4973551d0091701cf8f5d12c5462d6740779 (diff)
downloadpkgsrc-5f9f45e8e9b11d1f7c65faab35096b379f390462.tar.gz
Move net/openafs to filesystems/openafs-devel.
Re-add net/openafs as of 2012-05-01 as filesystems/openafs.
Diffstat (limited to 'filesystems/openafs-devel/options.mk')
-rw-r--r--filesystems/openafs-devel/options.mk45
1 files changed, 45 insertions, 0 deletions
diff --git a/filesystems/openafs-devel/options.mk b/filesystems/openafs-devel/options.mk
new file mode 100644
index 00000000000..e284f24927e
--- /dev/null
+++ b/filesystems/openafs-devel/options.mk
@@ -0,0 +1,45 @@
+# $NetBSD: options.mk,v 1.1 2012/08/30 17:37:55 jakllsch Exp $
+
+.include "../../mk/bsd.prefs.mk"
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.openafs
+PKG_SUPPORTED_OPTIONS+= server bitmap-later bos-new-config fast-restart
+PKG_SUPPORTED_OPTIONS+= largefile kernel-module supergroups namei
+.if ${MACHINE_ARCH} != "x86_64"
+PKG_SUPPORTED_OPTIONS+= pam
+.endif
+PKG_SUGGESTED_OPTIONS= server bitmap-later bos-new-config fast-restart
+PKG_SUGGESTED_OPTIONS+= namei largefile -kernel-module supergroups
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Msupergroups)
+CONFIGURE_ARGS+= --enable-supergroups
+.endif
+.if !empty(PKG_OPTIONS:Mbitmap-later)
+CONFIGURE_ARGS+= --enable-bitmap-later
+.endif
+.if !empty(PKG_OPTIONS:Mbos-new-config)
+CONFIGURE_ARGS+= --enable-bos-new-config
+.endif
+.if !empty(PKG_OPTIONS:Mfast-restart)
+CONFIGURE_ARGS+= --enable-fast-restart
+.endif
+.if !empty(PKG_OPTIONS:Mlargefile)
+CONFIGURE_ARGS+= --enable-largefile-fileserver
+.endif
+.if !empty(PKG_OPTIONS:Mkernel-module)
+CONFIGURE_ARGS+= --enable-kernel-module
+.else
+CONFIGURE_ARGS+= --disable-kernel-module
+.endif
+.if !empty(PKG_OPTIONS:Mnamei)
+CONFIGURE_ARGS+= --enable-namei-fileserver
+.endif
+.if !empty(PKG_OPTIONS:Mpam)
+CONFIGURE_ARGS+= --enable-pam
+.include "../../mk/pam.buildlink3.mk"
+PLIST_SRC+= ${.CURDIR}/PLIST.pam
+.else
+CONFIGURE_ARGS+= --disable-pam
+.endif