File:  [cvs.NetBSD.org] / pkgsrc / filesystems / openafs / options.mk
Revision 1.2: download - view: text, annotated - select for diffs
Mon Apr 8 11:17:13 2013 UTC (11 years, 8 months ago) by rodent
Branches: MAIN
CVS tags: pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, HEAD
Remove "Trailing empty lines." and/or "Trailing white-space."

# $NetBSD: options.mk,v 1.2 2013/04/08 11:17:13 rodent 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

CVSweb <webmaster@jp.NetBSD.org>