summaryrefslogtreecommitdiff
path: root/chat
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2019-05-03 11:05:10 +0000
committernia <nia@pkgsrc.org>2019-05-03 11:05:10 +0000
commit27ae0ebbbf4169fd4a0b677dae093ed3ae5a757c (patch)
tree43df6a1b03b1daafc0fc3c546e552e7f6c6c6ce2 /chat
parentbb45b9361504b958fc30310b2399a931fb8e5b47 (diff)
downloadpkgsrc-27ae0ebbbf4169fd4a0b677dae093ed3ae5a757c.tar.gz
chat/anope: Use gettext-lib and msgfmt. Default to gnutls over openssl.
Without gettext-lib and msgfmt being available, package creation fails because the locale files aren't generated. Similar reasoning for gnutls as inspircd - anope is based on an old version of inspircd and is also GPLv2 with no exception for OpenSSL. gnutls is the recommended TLS library for both.
Diffstat (limited to 'chat')
-rw-r--r--chat/anope/Makefile6
-rw-r--r--chat/anope/options.mk4
2 files changed, 6 insertions, 4 deletions
diff --git a/chat/anope/Makefile b/chat/anope/Makefile
index d071409b4f5..6b2476a584d 100644
--- a/chat/anope/Makefile
+++ b/chat/anope/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.24 2019/04/07 19:30:13 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2019/05/03 11:05:10 nia Exp $
DISTNAME= anope-2.0.6-source
PKGNAME= ${DISTNAME:S/-source//}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= chat
MASTER_SITES= ${MASTER_SITE_GITHUB:=anope/}
GITHUB_PROJECT= anope
@@ -14,6 +14,7 @@ COMMENT= Modular set of IRC services
LICENSE= gnu-gpl-v2
USE_LANGUAGES= c c++
+USE_TOOLS+= msgfmt
USE_CMAKE= yes
CMAKE_ARGS+= -DPROGRAM_NAME=anope
@@ -108,4 +109,5 @@ post-install:
${MV} ${DESTDIR}${PKG_SYSCONFDIR}/anope/stats.standalone.example.conf \
${DESTDIR}${DOCDIR}/stats.standalone.example.conf
+.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/chat/anope/options.mk b/chat/anope/options.mk
index a499a938983..184331ee4bc 100644
--- a/chat/anope/options.mk
+++ b/chat/anope/options.mk
@@ -1,8 +1,8 @@
-# $NetBSD: options.mk,v 1.2 2019/02/05 19:10:50 nia Exp $
+# $NetBSD: options.mk,v 1.3 2019/05/03 11:05:10 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.anope
PKG_SUPPORTED_OPTIONS= gnutls openssl mysql ldap pcre sqlite3
-PKG_SUGGESTED_OPTIONS= openssl
+PKG_SUGGESTED_OPTIONS= gnutls
PLIST_VARS+= gnutls openssl mysql ldap pcre sqlite3
.include "../../mk/bsd.options.mk"