summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormef <mef@pkgsrc.org>2020-11-15 14:53:24 +0000
committermef <mef@pkgsrc.org>2020-11-15 14:53:24 +0000
commit7ec36f0a885b0442cf7df614db93690a9fcd2090 (patch)
treed8508a3a4caeeaaf30a8e6858583332964f563e1
parent9e4fc6819869aa1bf48b4c51544798bc0c5d1b3f (diff)
downloadpkgsrc-7ec36f0a885b0442cf7df614db93690a9fcd2090.tar.gz
(geography/geoclue) Fix build problem: msgfmt: unknown option -- desktop
-rw-r--r--geography/geoclue/Makefile10
1 files changed, 8 insertions, 2 deletions
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"