2006-05-31 20:22:23 +02:00
|
|
|
# $NetBSD: options.mk,v 1.6 2006/05/31 18:22:23 ghen Exp $
|
2004-11-25 22:34:59 +01:00
|
|
|
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.xemacs
|
|
|
|
PKG_SUPPORTED_OPTIONS= ldap xface canna
|
|
|
|
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mldap)
|
2005-10-23 16:16:46 +02:00
|
|
|
CONFIGURE_ARGS+= --with-ldap
|
2006-05-31 20:22:23 +02:00
|
|
|
. include "../../databases/openldap-client/buildlink3.mk"
|
2004-11-25 22:34:59 +01:00
|
|
|
.else
|
2005-10-23 16:16:46 +02:00
|
|
|
CONFIGURE_ARGS+= --without-ldap
|
2004-11-25 22:34:59 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mxface)
|
2005-10-23 16:16:46 +02:00
|
|
|
CONFIGURE_ARGS+= --with-xface
|
2004-11-25 22:34:59 +01:00
|
|
|
. include "../../mail/faces/buildlink3.mk"
|
|
|
|
.else
|
2005-10-23 16:16:46 +02:00
|
|
|
CONFIGURE_ARGS+= --without-xface
|
2004-11-25 22:34:59 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if !empty(PKG_OPTIONS:Mcanna)
|
|
|
|
. include "../../inputmethod/canna-lib/buildlink3.mk"
|
2005-10-23 16:16:46 +02:00
|
|
|
CONFIGURE_ARGS+= --with-canna
|
2005-03-03 17:16:03 +01:00
|
|
|
PLIST_SUBST+= FOR_MULE=''
|
2004-11-25 22:34:59 +01:00
|
|
|
.else
|
2005-10-23 16:16:46 +02:00
|
|
|
CONFIGURE_ARGS+= --without-canna
|
2005-03-03 17:16:03 +01:00
|
|
|
PLIST_SUBST+= FOR_MULE='@comment '
|
2004-11-25 22:34:59 +01:00
|
|
|
.endif
|