pkgsrc-Changes archive

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

CVS commit: pkgsrc/editors/dasher



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Apr  5 08:07:18 UTC 2021

Modified Files:
        pkgsrc/editors/dasher: Makefile

Log Message:
dasher: Fix glib2-2.6.0 breakage


To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 pkgsrc/editors/dasher/Makefile

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

Modified files:

Index: pkgsrc/editors/dasher/Makefile
diff -u pkgsrc/editors/dasher/Makefile:1.106 pkgsrc/editors/dasher/Makefile:1.107
--- pkgsrc/editors/dasher/Makefile:1.106        Mon Aug 17 20:18:32 2020
+++ pkgsrc/editors/dasher/Makefile      Mon Apr  5 08:07:17 2021
@@ -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_LANGUAGES=       c c++
 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