pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/anope



Module Name:    pkgsrc
Committed By:   nia
Date:           Fri May  3 11:05:11 UTC 2019

Modified Files:
        pkgsrc/chat/anope: Makefile options.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/chat/anope/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/chat/anope/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/chat/anope/Makefile
diff -u pkgsrc/chat/anope/Makefile:1.24 pkgsrc/chat/anope/Makefile:1.25
--- pkgsrc/chat/anope/Makefile:1.24     Sun Apr  7 19:30:13 2019
+++ pkgsrc/chat/anope/Makefile  Fri May  3 11:05:10 2019
@@ -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"

Index: pkgsrc/chat/anope/options.mk
diff -u pkgsrc/chat/anope/options.mk:1.2 pkgsrc/chat/anope/options.mk:1.3
--- pkgsrc/chat/anope/options.mk:1.2    Tue Feb  5 19:10:50 2019
+++ pkgsrc/chat/anope/options.mk        Fri May  3 11:05:10 2019
@@ -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