2eca3d9f2c
packages. Convert LDAP-based applications to depend on openldap-client, and bump PKGREVISION for those that depend on it by default.
29 lines
712 B
Makefile
29 lines
712 B
Makefile
# $NetBSD: options.mk,v 1.6 2006/05/31 18:22:23 ghen Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.xemacs
|
|
PKG_SUPPORTED_OPTIONS= ldap xface canna
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mldap)
|
|
CONFIGURE_ARGS+= --with-ldap
|
|
. include "../../databases/openldap-client/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-ldap
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mxface)
|
|
CONFIGURE_ARGS+= --with-xface
|
|
. include "../../mail/faces/buildlink3.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --without-xface
|
|
.endif
|
|
|
|
.if !empty(PKG_OPTIONS:Mcanna)
|
|
. include "../../inputmethod/canna-lib/buildlink3.mk"
|
|
CONFIGURE_ARGS+= --with-canna
|
|
PLIST_SUBST+= FOR_MULE=''
|
|
.else
|
|
CONFIGURE_ARGS+= --without-canna
|
|
PLIST_SUBST+= FOR_MULE='@comment '
|
|
.endif
|