pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/editors/dasher dasher: Fix glib2-2.6.0 breakage



details:   https://anonhg.NetBSD.org/pkgsrc/rev/81a14feab910
branches:  trunk
changeset: 449732:81a14feab910
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Apr 05 08:07:17 2021 +0000

description:
dasher: Fix glib2-2.6.0 breakage

diffstat:

 editors/dasher/Makefile |  13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r a30362352f09 -r 81a14feab910 editors/dasher/Makefile
--- a/editors/dasher/Makefile   Mon Apr 05 07:51:50 2021 +0000
+++ b/editors/dasher/Makefile   Mon Apr 05 08:07:17 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.106 2020/08/17 20:18:32 leot Exp $
+# $NetBSD: Makefile,v 1.107 2021/04/05 08:07:17 nia Exp $
 
 DISTNAME=      dasher-5.0.0.b20200225
 PKGREVISION=   1
@@ -20,8 +20,15 @@
 USE_TOOLS+=    autoreconf autoconf automake autopoint msgfmt
 USE_TOOLS+=    pkg-config
 
-# Requires --desktop in msgfmt.
-_TOOLS_USE_PKGSRC.msgfmt=      yes
+# Workaround for glib2-2.68.0 c++ fallout.
+CXXFLAGS+=     -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66
+
+.include "../../mk/bsd.prefs.mk"
+
+# msgfmt: unknown option -- desktop
+.if ${OPSYS} == "NetBSD"
+TOOLS_PLATFORM.msgfmt=
+.endif
 
 pre-configure:
        # tries to invoke git for something, probably fetching the ref



Home | Main Index | Thread Index | Old Index