summaryrefslogtreecommitdiff
path: root/graphics/inkscape
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2020-05-29 22:07:25 +0000
committertnn <tnn@pkgsrc.org>2020-05-29 22:07:25 +0000
commitac36dcecf0efd80e42fbdd3df24834a4759a8d52 (patch)
tree1a6670ffa8a1c1d28ffe6357b867f177f367daa7 /graphics/inkscape
parenteeb110f6ea031f436ffe7865dc9f47447b3f9a25 (diff)
downloadpkgsrc-ac36dcecf0efd80e42fbdd3df24834a4759a8d52.tar.gz
inkscape: work around "default.es_MX.svg" sometimes missing from DESTDIR
Diffstat (limited to 'graphics/inkscape')
-rw-r--r--graphics/inkscape/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/inkscape/Makefile b/graphics/inkscape/Makefile
index 9f021443c96..f87b026eeff 100644
--- a/graphics/inkscape/Makefile
+++ b/graphics/inkscape/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.211 2020/05/18 05:20:58 rillig Exp $
+# $NetBSD: Makefile,v 1.212 2020/05/29 22:07:25 tnn Exp $
DISTNAME= inkscape-1.0
PKGREVISION= 3
@@ -74,6 +74,13 @@ MANCOMPRESSED= yes
CMAKE_ARGS+= -DIntl_INCLUDE_DIR=${BUILDLINK_PREFIX.gettext}/include
.endif
+# There exists some race condition in create_default_templates.py that
+# makes default.es_MX.svg sometimes not get installed.
+# (gettext translation file dependency not correctly expressed in cmake?)
+# Run the script post-build to ensure all files are generated.
+post-build:
+ cd ${WRKSRC} && ${PYTHONBIN} ./share/templates/create_default_templates.py . .
+
BUILDLINK_API_DEPENDS.boehm-gc+= boehm-gc>=7.4
.include "../../converters/libcdr/buildlink3.mk"
.include "../../converters/librevenge/buildlink3.mk"