=================================================================== RCS file: /cvs/mystuff-openscad/cad/openscad/Makefile,v retrieving revision 1.13 retrieving revision 1.15 diff -u -r1.13 -r1.15 --- mystuff-openscad/cad/openscad/Makefile 2025/10/16 04:31:42 1.13 +++ mystuff-openscad/cad/openscad/Makefile 2025/11/05 22:45:03 1.15 @@ -6,6 +6,7 @@ CATEGORIES = cad HOMEPAGE = https://www.openscad.org/ +TEST_IS_INTERACTIVE = X11 # AGPL-3.0 PERMIT_PACKAGE = Yes @@ -74,6 +75,9 @@ TEST_DEPENDS = graphics/ImageMagick +# A test requires this +TEST_DEPENDS += shells/bash + # The openscad script wrapper breaks debug packages #DEBUG_PACKAGES = ${BUILD_PACKAGES} @@ -99,6 +103,7 @@ post-extract: rmdir ${WRKSRC}/libraries/MCAD cp -a ${WRKDIR}/MCAD-${MCAD_COMMIT} ${WRKSRC}/libraries/MCAD + find ${WRKSRC} -type f -exec sed -i '1s,^#!/bin/sh,#!${PREFIX}/bin/bash,' {} + # OpenSCAD uses the program_location (see patch-src_openscad_cc) to # figure out resource paths, but on OpenBSD that doesn't work when