pkgsrc-Bugs archive

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

pkg/36461: weechat gnutls support



>Number:         36461
>Category:       pkg
>Synopsis:       weechat gnutls support
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 08 22:55:00 +0000 2007
>Originator:     Adam Hoka
>Release:        NetBSD 4.0
>Organization:
>Environment:
>Description:
Weechat doesn`t have a gnutls option to use ssl connections.
I have made a few changes to the makefiles to accept gnutls as make-option to 
enable ssl support if needed.
>How-To-Repeat:

>Fix:
Index: options.mk
===================================================================
RCS file: /cvsroot/pkgsrc/chat/weechat/options.mk,v
retrieving revision 1.2
diff -u -r1.2 options.mk
--- options.mk  15 Jan 2007 20:25:01 -0000      1.2
+++ options.mk  31 May 2007 13:13:25 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: options.mk,v 1.2 2007/01/15 20:25:01 tonio Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.weechat
-PKG_SUPPORTED_OPTIONS= charset python lua
+PKG_SUPPORTED_OPTIONS= charset gnutls python lua
 PKG_SUGGESTED_OPTIONS= charset
 
 .include "../../mk/bsd.options.mk"
@@ -32,6 +32,10 @@
 PLIST_SUBST+= WITHLUA="@comment "
 .endif
 
+.if !empty(PKG_OPTIONS:Mgnutls)
+.include "../../security/gnutls/buildlink3.mk"
+.endif
+
 .if !empty(PKG_OPTIONS:Mpython) || !empty(PKG_OPTIONS:Mlua) \
     || !empty(PKG_OPTIONS:Mcharset)
 PLIST_SUBST+= WITHPLUGIN=""




Home | Main Index | Thread Index | Old Index