pkgsrc/mail/cue/options.mk

24 lines
588 B
Makefile

# $NetBSD: options.mk,v 1.2 2012/06/12 15:45:57 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.cue
PKG_SUPPORTED_OPTIONS= canna idea inet6
PKG_SUGGESTED_OPTIONS= inet6
.include "../../mk/bsd.options.mk"
.if !empty(PKG_OPTIONS:Minet6) && (${OPSYS} != "SunOS")
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
.if !empty(PKG_OPTIONS:Mcanna)
. include "../../inputmethod/canna-lib/buildlink3.mk"
CONFIGURE_ARGS+= --with-canna=${BUILDLINK_PREFIX.canna}
.else
CONFIGURE_ARGS+= --without-canna
.endif
.if !empty(PKG_OPTIONS:Midea)
CONFIGURE_ARGS+= --enable-idea
.endif