summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2022-03-12 08:01:48 +0000
committernia <nia@pkgsrc.org>2022-03-12 08:01:48 +0000
commit41b42479d6676038b9f7dc8704ef6a3d90beb54a (patch)
treecc4a045a69cb9b5d6317cb15800e72d3fc663015 /time
parent2ba8cd76f012d7b030c3776959f4dade7e8243dc (diff)
downloadpkgsrc-41b42479d6676038b9f7dc8704ef6a3d90beb54a.tar.gz
*: Replace per-package msgfmt hacks with msgfmt-desktop.mk
Diffstat (limited to 'time')
-rw-r--r--time/gnome-calendar/Makefile3
-rw-r--r--time/gnome-calendar/hacks.mk13
-rw-r--r--time/gnome-pomodoro/Makefile3
-rw-r--r--time/gnome-pomodoro/hacks.mk13
4 files changed, 4 insertions, 28 deletions
diff --git a/time/gnome-calendar/Makefile b/time/gnome-calendar/Makefile
index 7e794040494..b6f5fed3249 100644
--- a/time/gnome-calendar/Makefile
+++ b/time/gnome-calendar/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2022/03/12 07:42:32 nia Exp $
+# $NetBSD: Makefile,v 1.13 2022/03/12 08:01:52 nia Exp $
DISTNAME= gnome-calendar-40.0
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/${PKGBASE}/${PKGVERSION_NOREV:R}/}
@@ -17,6 +17,7 @@ USE_TOOLS+= gdbus-codegen
PYTHON_FOR_BUILD_ONLY= tool
.include "../../devel/meson/build.mk"
+.include "../../devel/gettext-tools/msgfmt-desktop.mk"
.include "../../devel/glib2/schemas.mk"
.include "../../devel/libdazzle/buildlink3.mk"
.include "../../devel/libgweather/buildlink3.mk"
diff --git a/time/gnome-calendar/hacks.mk b/time/gnome-calendar/hacks.mk
deleted file mode 100644
index 31a173f9f7e..00000000000
--- a/time/gnome-calendar/hacks.mk
+++ /dev/null
@@ -1,13 +0,0 @@
-# $NetBSD: hacks.mk,v 1.1 2022/03/12 07:42:32 nia Exp $
-
-.if !defined(GNOME_CALENDAR_HACKS_MK)
-GNOME_CALENDAR_HACKS_MK:=
-
-.include "../../mk/bsd.fast.prefs.mk"
-
-.if ${OPSYS} == "NetBSD"
-# Old GPLv2 version of msgfmt in NetBSD does not support --desktop/--xml.
-TOOLS_PLATFORM.msgfmt= # none
-PKG_HACKS+= avoid-gplv2-msgfmt
-.endif
-.endif # GNOME_CALENDAR_HACKS_MK
diff --git a/time/gnome-pomodoro/Makefile b/time/gnome-pomodoro/Makefile
index 746bc4be533..7c509d386a7 100644
--- a/time/gnome-pomodoro/Makefile
+++ b/time/gnome-pomodoro/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2022/03/12 07:42:32 nia Exp $
+# $NetBSD: Makefile,v 1.8 2022/03/12 08:01:52 nia Exp $
DISTNAME= gnome-pomodoro-0.17.0
PKGREVISION= 3
@@ -31,6 +31,7 @@ CONFIGURE_SCRIPT= autogen.sh
.include "../../databases/gom/buildlink3.mk"
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../devel/appstream-glib/buildlink3.mk"
+.include "../../devel/gettext-tools/msgfmt-desktop.mk"
.include "../../devel/glib2/schemas.mk"
.include "../../devel/gobject-introspection/buildlink3.mk"
.include "../../devel/libpeas/buildlink3.mk"
diff --git a/time/gnome-pomodoro/hacks.mk b/time/gnome-pomodoro/hacks.mk
deleted file mode 100644
index f9a4c0f7eef..00000000000
--- a/time/gnome-pomodoro/hacks.mk
+++ /dev/null
@@ -1,13 +0,0 @@
-# $NetBSD: hacks.mk,v 1.1 2022/03/12 07:42:32 nia Exp $
-
-.if !defined(GNOME_POMODORO_HACKS_MK)
-GNOME_POMODORO_HACKS_MK:=
-
-.include "../../mk/bsd.fast.prefs.mk"
-
-.if ${OPSYS} == "NetBSD"
-# Old GPLv2 version of msgfmt in NetBSD does not support --desktop/--xml.
-TOOLS_PLATFORM.msgfmt= # none
-PKG_HACKS+= avoid-gplv2-msgfmt
-.endif
-.endif # GNOME_POMODORO_HACKS_MK