From 21e253f2d14ed6d25f8c4632d044470857561168 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Tue, 24 Mar 2020 19:05:48 +0100 Subject: [PATCH] cjs: Test for existence of gitestmacros.h --- srcpkgs/cjs/template | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/srcpkgs/cjs/template b/srcpkgs/cjs/template index 9a2ba2a73c6..aa33f15c62d 100644 --- a/srcpkgs/cjs/template +++ b/srcpkgs/cjs/template @@ -16,10 +16,9 @@ homepage="http://developer.linuxmint.com/projects/cinnamon-projects.html/" distfiles="https://github.com/linuxmint/cjs/archive/${version}.tar.gz" checksum=7dab9615c41d9cb3b2409b2aa6cb9813ef5762f8c62526f54b4b3734079961f6 - pre_configure() { cp ${FILESDIR}/ax_code_coverage.m4 m4/ - if [ ! -d "${XBPS_CROSS_BASE}/usr/share/gobject-introspection-1.0/tests" ]; then + if [ ! -s "${XBPS_CROSS_BASE}/usr/share/gobject-introspection-1.0/tests/gitestmacros.h" ]; then # /usr/share/gobject-introspection-1.0/tests missing in cross builds cp -aR /usr/share/gobject-introspection-1.0/tests \ ${XBPS_CROSS_BASE}/usr/share/gobject-introspection-1.0