diff options
author | nia <nia@pkgsrc.org> | 2022-03-12 07:06:26 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2022-03-12 07:06:26 +0000 |
commit | 132bfba431740bb6d5e857d52656cf43031edd1b (patch) | |
tree | e6e7e01c8c1f06d711052a404e265c26032e0453 /graphics/inkscape | |
parent | 4e609a3988f3cc4fec76b9c1bc4a3ce07563377f (diff) | |
download | pkgsrc-132bfba431740bb6d5e857d52656cf43031edd1b.tar.gz |
graphics: Use hacks.mk to avoid NetBSD msgfmt on NetBSD only.
Diffstat (limited to 'graphics/inkscape')
-rw-r--r-- | graphics/inkscape/Makefile | 5 | ||||
-rw-r--r-- | graphics/inkscape/hacks.mk | 13 |
2 files changed, 14 insertions, 4 deletions
diff --git a/graphics/inkscape/Makefile b/graphics/inkscape/Makefile index 042abd01f03..e5de6c96b99 100644 --- a/graphics/inkscape/Makefile +++ b/graphics/inkscape/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.244 2022/03/02 02:28:04 ryoon Exp $ +# $NetBSD: Makefile,v 1.245 2022/03/12 07:06:26 nia Exp $ DISTNAME= inkscape-1.1.2 CATEGORIES= graphics @@ -19,9 +19,6 @@ DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat DEPENDS+= ${PYPKGPREFIX}-lxml-[0-9]*:../../textproc/py-lxml DEPENDS+= ${PYPKGPREFIX}-serial-[0-9]*:../../comms/py-serial DEPENDS+= ${PYPKGPREFIX}-scour-[0-9]*:../../graphics/py-scour -# for desktop -TOOL_DEPENDS+= gettext-tools-[0-9]*:../../devel/gettext-tools -TOOLS_PLATFORM.msgfmt= # empty WRKSRC= ${WRKDIR}/inkscape-1.1.2_2022-02-04_0a00cf5339 diff --git a/graphics/inkscape/hacks.mk b/graphics/inkscape/hacks.mk new file mode 100644 index 00000000000..40e8e0be50c --- /dev/null +++ b/graphics/inkscape/hacks.mk @@ -0,0 +1,13 @@ +# $NetBSD: hacks.mk,v 1.1 2022/03/12 07:06:26 nia Exp $ + +.if !defined(INKSCAPE_HACKS_MK) +INKSCAPE_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 # INKSCAPE_HACKS_MK |