pkgsrc-Changes archive

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

CVS commit: pkgsrc/geography/geoclue



Module Name:    pkgsrc
Committed By:   mef
Date:           Sun Nov 15 14:53:25 UTC 2020

Modified Files:
        pkgsrc/geography/geoclue: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/geography/geoclue/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/geography/geoclue/Makefile
diff -u pkgsrc/geography/geoclue/Makefile:1.30 pkgsrc/geography/geoclue/Makefile:1.31
--- pkgsrc/geography/geoclue/Makefile:1.30      Thu Nov  5 09:08:16 2020
+++ pkgsrc/geography/geoclue/Makefile   Sun Nov 15 14:53:24 2020
@@ -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]*:../.
 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/syste
 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