pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/gnome-dictionary



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Mar 12 07:40:48 UTC 2022

Modified Files:
        pkgsrc/textproc/gnome-dictionary: Makefile
Added Files:
        pkgsrc/textproc/gnome-dictionary: hacks.mk

Log Message:
textproc: Use hacks.mk to avoid NetBSD msgfmt on NetBSD only


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 pkgsrc/textproc/gnome-dictionary/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/gnome-dictionary/hacks.mk

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

Modified files:

Index: pkgsrc/textproc/gnome-dictionary/Makefile
diff -u pkgsrc/textproc/gnome-dictionary/Makefile:1.6 pkgsrc/textproc/gnome-dictionary/Makefile:1.7
--- pkgsrc/textproc/gnome-dictionary/Makefile:1.6       Wed Dec  8 16:06:44 2021
+++ pkgsrc/textproc/gnome-dictionary/Makefile   Sat Mar 12 07:40:48 2022
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2021/12/08 16:06:44 adam Exp $
+# $NetBSD: Makefile,v 1.7 2022/03/12 07:40:48 nia Exp $
 
 DISTNAME=      gnome-dictionary-3.26.1
 MASTER_SITES=  ${MASTER_SITE_GNOME:=sources/${PKGBASE}/${PKGVERSION_NOREV:R}/}
@@ -11,9 +11,6 @@ HOMEPAGE=     https://wiki.gnome.org/Apps/Di
 COMMENT=       GNOME application to look up definitions
 LICENSE=       gnu-gpl-v2
 
-# XXX msgfmt: unknown option -- desktop
-_TOOLS_USE_PKGSRC.msgfmt=      yes
-
 TOOL_DEPENDS+= docbook-xsl-[0-9]*:../../textproc/docbook-xsl
 TOOL_DEPENDS+= libxslt-[0-9]*:../../textproc/libxslt
 

Added files:

Index: pkgsrc/textproc/gnome-dictionary/hacks.mk
diff -u /dev/null pkgsrc/textproc/gnome-dictionary/hacks.mk:1.1
--- /dev/null   Sat Mar 12 07:40:48 2022
+++ pkgsrc/textproc/gnome-dictionary/hacks.mk   Sat Mar 12 07:40:48 2022
@@ -0,0 +1,13 @@
+# $NetBSD: hacks.mk,v 1.1 2022/03/12 07:40:48 nia Exp $
+
+.if !defined(GNOME_DICTIONARY_HACKS_MK)
+GNOME_DICTIONARY_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_DICTIONARY_HACKS_MK



Home | Main Index | Thread Index | Old Index