pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/geography/geoclue (geography/geoclue) Fix build proble...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d06b710a6d5b
branches:  trunk
changeset: 441959:d06b710a6d5b
user:      mef <mef%pkgsrc.org@localhost>
date:      Sun Nov 15 14:53:24 2020 +0000

description:
(geography/geoclue) Fix build problem: msgfmt: unknown option -- desktop

diffstat:

 geography/geoclue/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r 71e180e0755f -r d06b710a6d5b geography/geoclue/Makefile
--- a/geography/geoclue/Makefile        Sun Nov 15 14:41:44 2020 +0000
+++ b/geography/geoclue/Makefile        Sun Nov 15 14:53:24 2020 +0000
@@ -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+= 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/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"



Home | Main Index | Thread Index | Old Index