pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48382: pkgsrc/editors/emacs24 - add options xml2 and gnutls



>Number:         48382
>Category:       pkg
>Synopsis:       pkgsrc/editors/emacs24 - add options xml2 and gnutls
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 17 09:45:00 +0000 2013
>Originator:     Danie Roux
>Release:        
>Organization:
>Environment:
>Description:
This patch exposes libxml2 and gnutls configure options for emacs24

Specifically it enables: 

http://www.gnu.org/software/emacs/manual/html_mono/emacs-gnutls.html

and 

http://www.gnu.org/software/emacs/manual/html_node/elisp/Parsing-HTML_002fXML.html
>How-To-Repeat:

>Fix:
From 713c9ea35ca4bfd445d814df8504c36e1271fadb Mon Sep 17 00:00:00 2001
From: Danie Roux <danie%danieroux.com@localhost>
Date: Sun, 17 Nov 2013 10:48:59 +0200
Subject: [PATCH] Add libxml2 and gnutls options to emacs24

---
 editors/emacs24/options.mk | 18 +++++++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

diff --git a/editors/emacs24/options.mk b/editors/emacs24/options.mk
index 534e5d7..f0224fc 100644
--- a/editors/emacs24/options.mk
+++ b/editors/emacs24/options.mk
@@ -1,7 +1,7 @@
 # $NetBSD: options.mk,v 1.2 2013/08/14 20:17:08 wiz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.emacs
-PKG_SUPPORTED_OPTIONS= dbus xft2 svg
+PKG_SUPPORTED_OPTIONS= dbus xft2 svg xml2 gnutls
 PKG_OPTIONS_OPTIONAL_GROUPS+= window-system
 PKG_OPTIONS_GROUP.window-system= x11 nextstep
 PKG_OPTIONS_OPTIONAL_GROUPS+= toolkit
@@ -23,6 +23,22 @@ CONFIGURE_ARGS+=     --without-dbus
 .  endif
 
 ###
+### Support libxml
+###
+.  if !empty(PKG_OPTIONS:Mxml2)
+.include "../../textproc/libxml2/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-xml2
+.  endif
+###
+
+### Support gnutls
+###
+.  if !empty(PKG_OPTIONS:Mgnutls)
+.include "../../security/gnutls/buildlink3.mk"
+CONFIGURE_ARGS+=       --with-gnutls
+.  endif
+
+###
 ### Support SVG
 ###
 .  if !empty(PKG_OPTIONS:Msvg) && empty(PKG_OPTIONS:Mnextstep)
-- 
1.8.3.4 (Apple Git-47)



Home | Main Index | Thread Index | Old Index