[BACK]Return to hacks.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / editors / gedit

File: [cvs.NetBSD.org] / pkgsrc / editors / gedit / Attic / hacks.mk (download)

Revision 1.1, Fri Mar 11 08:59:27 2022 UTC (23 months, 3 weeks ago) by nia
Branch: MAIN

editors: Use hacks.mk to avoid NetBSD msgfmt on NetBSD only.

# $NetBSD: hacks.mk,v 1.1 2022/03/11 08:59:27 nia Exp $

.if !defined(GEDIT_HACKS_MK)
GEDIT_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 # GEDIT_HACKS_MK