summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-11-11 17:55:59 +0000
committernia <nia@pkgsrc.org>2020-11-11 17:55:59 +0000
commitf136c501e93c74f2303a8c21adcac4e8709df8eb (patch)
tree91d4a4b29890d0a4a469c22dd89c768bb35f8292
parent830b71420fba6a950bf2100973fd63a146bad9c1 (diff)
downloadpkgsrc-f136c501e93c74f2303a8c21adcac4e8709df8eb.tar.gz
gnome-session: Needs msgfmt with --xml
-rw-r--r--x11/gnome-session/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/x11/gnome-session/Makefile b/x11/gnome-session/Makefile
index b3bf0272f3b..b88f95b7e18 100644
--- a/x11/gnome-session/Makefile
+++ b/x11/gnome-session/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.196 2020/11/10 02:15:01 nia Exp $
+# $NetBSD: Makefile,v 1.197 2020/11/11 17:55:59 nia Exp $
DISTNAME= gnome-session-3.38.0
CATEGORIES= x11 gnome
@@ -15,6 +15,13 @@ TOOL_DEPENDS+= xmlto-[0-9]*:../../textproc/xmlto
USE_TOOLS+= pkg-config msgfmt xgettext
+.include "../../mk/bsd.prefs.mk"
+
+# msgfmt: unknown option -- xml
+.if ${OPSYS} == "NetBSD"
+TOOLS_PLATFORM.msgfmt=
+.endif
+
.include "../../graphics/MesaLib/features.mk"
PLIST_VARS+= gles2