cjs: Test for existence of gitestmacros.h

This commit is contained in:
Jürgen Buchmüller 2020-03-24 19:05:48 +01:00
parent 570928df0e
commit 21e253f2d1

View file

@ -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