diff options
author | nia <nia@pkgsrc.org> | 2021-04-05 08:07:17 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2021-04-05 08:07:17 +0000 |
commit | 1c9328872373a3423dd199423f3416213746f4a7 (patch) | |
tree | 58570095fd1cc7a099f685c246278a937b94ba9c /editors | |
parent | ebb18d8d23799b2aa8a2e794f209a470ea6dd296 (diff) | |
download | pkgsrc-1c9328872373a3423dd199423f3416213746f4a7.tar.gz |
dasher: Fix glib2-2.6.0 breakage
Diffstat (limited to 'editors')
-rw-r--r-- | editors/dasher/Makefile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/editors/dasher/Makefile b/editors/dasher/Makefile index 2dd9b662b38..474e5a76d88 100644 --- a/editors/dasher/Makefile +++ b/editors/dasher/Makefile @@ -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 |