pkgsrc/sysutils/gnome-vfs/options.mk

43 lines
969 B
Makefile

# $NetBSD: options.mk,v 1.3 2009/04/12 20:08:04 abs Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.gnome-vfs
PKG_SUPPORTED_OPTIONS= fam gssapi hal inet6
PKG_SUGGESTED_OPTIONS= fam hal
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == NetBSD
# Kerberos is built in - no additional dependency
PKG_SUGGESTED_OPTIONS+= gssapi
.endif
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Mfam)
.include "../../mk/fam.buildlink3.mk"
CONFIGURE_ARGS+= --enable-fam
.else
CONFIGURE_ARGS+= --disable-fam
.endif
.if !empty(PKG_OPTIONS:Mgssapi)
.include "../../mk/krb5.buildlink3.mk"
CONFIGURE_ENV+= KRB5_CONFIG=${SH_KRB5_CONFIG}
.else
CONFIGURE_ENV+= ac_cv_path_KRB5_CONFIG=none
.endif
.if !empty(PKG_OPTIONS:Mhal)
MESSAGE_SRC+= ${.CURDIR}/MESSAGE.hal
.include "../../sysutils/hal/buildlink3.mk"
CONFIGURE_ARGS+= --enable-hal
.else
CONFIGURE_ARGS+= --disable-hal
.endif
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif