pkgsrc/editors/xemacs-current/options.mk
martin a1fbef7957 Update to 21.5.27.
This fixes PR 34197.
2006-09-04 09:20:51 +00:00

38 lines
886 B
Makefile

# $NetBSD: options.mk,v 1.8 2006/09/04 09:20:51 martin Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.xemacs
PKG_SUPPORTED_OPTIONS= esound ldap xface canna debug
.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
.else
CONFIGURE_ARGS+= --without-canna
.endif
#.if !empty(PKG_OPTIONS:Mesound)
#. include "../../audio/esound/buildlink3.mk"
#.else
CONFIGURE_ARGS+= --with-sound=none
#.endif
.if !empty(PKG_OPTIONS:Mdebug)
CONFIGURE_ARGS+= --enable-debug=yes --with-debug
.endif