pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/inkscape



Module Name:    pkgsrc
Committed By:   tnn
Date:           Fri May 29 22:07:25 UTC 2020

Modified Files:
        pkgsrc/graphics/inkscape: Makefile

Log Message:
inkscape: work around "default.es_MX.svg" sometimes missing from DESTDIR


To generate a diff of this commit:
cvs rdiff -u -r1.211 -r1.212 pkgsrc/graphics/inkscape/Makefile

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

Modified files:

Index: pkgsrc/graphics/inkscape/Makefile
diff -u pkgsrc/graphics/inkscape/Makefile:1.211 pkgsrc/graphics/inkscape/Makefile:1.212
--- pkgsrc/graphics/inkscape/Makefile:1.211     Mon May 18 05:20:58 2020
+++ pkgsrc/graphics/inkscape/Makefile   Fri May 29 22:07:25 2020
@@ -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"



Home | Main Index | Thread Index | Old Index