diff options
author | obache <obache@pkgsrc.org> | 2014-02-07 08:56:52 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2014-02-07 08:56:52 +0000 |
commit | 55fd5acbc566c8bdf61ce895b5a7735816052949 (patch) | |
tree | f2f5efb685b97e54804e64390c742e194ed8df7d /editors | |
parent | 9316f2d0671658c7d7394dda5c450d40c58def53 (diff) | |
download | pkgsrc-55fd5acbc566c8bdf61ce895b5a7735816052949.tar.gz |
Add xml and gnutls option, requested by Danie Roux via PR pkg/48382.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/emacs24/options.mk | 25 |
1 files changed, 23 insertions, 2 deletions
diff --git a/editors/emacs24/options.mk b/editors/emacs24/options.mk index 6e26e0ee951..0c5b1aa1edb 100644 --- a/editors/emacs24/options.mk +++ b/editors/emacs24/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.3 2013/12/31 16:50:19 wiz Exp $ +# $NetBSD: options.mk,v 1.4 2014/02/07 08:56:52 obache Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.emacs -PKG_SUPPORTED_OPTIONS= dbus xft2 svg +PKG_SUPPORTED_OPTIONS= dbus xft2 svg xml gnutls PKG_OPTIONS_OPTIONAL_GROUPS+= window-system PKG_OPTIONS_GROUP.window-system= x11 nextstep PKG_OPTIONS_OPTIONAL_GROUPS+= toolkit @@ -20,6 +20,27 @@ CONFIGURE_ARGS+= --without-dbus . endif ### +### Support XML2 +### +. if !empty(PKG_OPTIONS:Mxml) +USE_TOOLS+= pkg-config +BUILDLINK_API_DEPENDS.libxml2+= libxml2>=2.6.17 +.include "../../textproc/libxml2/buildlink3.mk" +. else +CONFIGURE_ARGS+= --without-xml2 +. endif + +### +### Support GnuTLS +### +. if !empty(PKG_OPTIONS:Mgnutls) +USE_TOOLS+= pkg-config +.include "../../security/gnutls/buildlink3.mk" +. else +CONFIGURE_ARGS+= --without-gnutls +. endif + +### ### Support SVG ### . if !empty(PKG_OPTIONS:Msvg) && empty(PKG_OPTIONS:Mnextstep) |