summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2019-07-20 12:08:01 +0000
committerleot <leot@pkgsrc.org>2019-07-20 12:08:01 +0000
commit755c144d408a761875ef7dc4e85f4c2eed310062 (patch)
tree36c09c672fdcf040a3e3e5e0ad7254ab9c940737 /chat
parent5fc3500820bdff0bf5e117d0a60af1e467d8e0eb (diff)
downloadpkgsrc-755c144d408a761875ef7dc4e85f4c2eed310062.tar.gz
weechat: Adjust path for the default gnutls_ca_file
Previously CA_FILE was undefined and lead to using `/etc/ssl/certs/ca-certificates.crt'. Pass the gnutls default trust store file that - at least if `gnutls' option is enabled - should be always present. Bump PKGREVISION.
Diffstat (limited to 'chat')
-rw-r--r--chat/weechat/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/chat/weechat/Makefile b/chat/weechat/Makefile
index 56cfe178de4..1e749b70a3a 100644
--- a/chat/weechat/Makefile
+++ b/chat/weechat/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.97 2019/07/17 12:10:32 nia Exp $
+# $NetBSD: Makefile,v 1.98 2019/07/20 12:08:01 leot Exp $
DISTNAME= weechat-2.5
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= chat
MASTER_SITES= https://www.weechat.org/files/src/
EXTRACT_SUFX= .tar.bz2
@@ -20,6 +20,7 @@ USE_LIBTOOL= yes
USE_CMAKE= yes
FAKE_NCURSES= yes
+CMAKE_ARGS+= -DCA_FILE:STRING=${PREFIX}/share/mozilla-rootcerts/cacert.pem
CMAKE_ARGS+= -DENABLE_GUILE:BOOL=OFF
CMAKE_ARGS+= -DENABLE_TCL:BOOL=OFF
CMAKE_ARGS+= -DENABLE_MAN:BOOL=OFF # Requires ascii-doctor