From 7ec36f0a885b0442cf7df614db93690a9fcd2090 Mon Sep 17 00:00:00 2001 From: mef Date: Sun, 15 Nov 2020 14:53:24 +0000 Subject: (geography/geoclue) Fix build problem: msgfmt: unknown option -- desktop --- geography/geoclue/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'geography/geoclue') diff --git a/geography/geoclue/Makefile b/geography/geoclue/Makefile index 0f78b952ed3..6c909af9a51 100644 --- a/geography/geoclue/Makefile +++ b/geography/geoclue/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.30 2020/11/05 09:08:16 ryoon Exp $ +# $NetBSD: Makefile,v 1.31 2020/11/15 14:53:24 mef Exp $ DISTNAME= geoclue-2.5.6 PKGREVISION= 1 @@ -14,7 +14,7 @@ TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen TOOL_DEPENDS+= gtk-doc-[0-9]*:../../textproc/gtk-doc TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt -USE_TOOLS+= pkg-config +USE_TOOLS+= pkg-config msgfmt MESON_ARGS+= -D3g-source=false MESON_ARGS+= -Dcdma-source=false @@ -35,6 +35,12 @@ CONF_FILES+= share/examples/dbus-1/system.d/org.freedesktop.GeoClue2.conf \ CONF_FILES+= share/examples/geoclue/geoclue.conf \ ${PKG_SYSCONFDIR}/geoclue.conf +.include "../../mk/bsd.prefs.mk" +# msgfmt: unknown option -- desktop +.if ${OPSYS} == "NetBSD" +TOOLS_PLATFORM.msgfmt= +.endif + .include "../../devel/meson/build.mk" .include "../../devel/glib2/buildlink3.mk" .include "../../devel/gobject-introspection/buildlink3.mk" -- cgit v1.2.3