pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/chat/anope chat/anope: Use gettext-lib and msgfmt. Def...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3a29fc2497dd
branches:  trunk
changeset: 323074:3a29fc2497dd
user:      nia <nia%pkgsrc.org@localhost>
date:      Fri May 03 11:05:10 2019 +0000

description:
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:

 chat/anope/Makefile   |  6 ++++--
 chat/anope/options.mk |  4 ++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diffs (42 lines):

diff -r d0790754074d -r 3a29fc2497dd chat/anope/Makefile
--- a/chat/anope/Makefile       Fri May 03 11:04:34 2019 +0000
+++ b/chat/anope/Makefile       Fri May 03 11:05:10 2019 +0000
@@ -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 @@
 LICENSE=       gnu-gpl-v2
 
 USE_LANGUAGES= c c++
+USE_TOOLS+=    msgfmt
 USE_CMAKE=     yes
 
 CMAKE_ARGS+=   -DPROGRAM_NAME=anope
@@ -108,4 +109,5 @@
        ${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 -r d0790754074d -r 3a29fc2497dd chat/anope/options.mk
--- a/chat/anope/options.mk     Fri May 03 11:04:34 2019 +0000
+++ b/chat/anope/options.mk     Fri May 03 11:05:10 2019 +0000
@@ -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"



Home | Main Index | Thread Index | Old Index