diff --git a/srcpkgs/cjs/template b/srcpkgs/cjs/template index aa33f15c62d..9a2ba2a73c6 100644 --- a/srcpkgs/cjs/template +++ b/srcpkgs/cjs/template @@ -16,9 +16,10 @@ 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 [ ! -s "${XBPS_CROSS_BASE}/usr/share/gobject-introspection-1.0/tests/gitestmacros.h" ]; then + if [ ! -d "${XBPS_CROSS_BASE}/usr/share/gobject-introspection-1.0/tests" ]; 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