pkgsrc/devel/deforaos-libsystem/patches/patch-tests_tests.sh
khorben 0e7d4addc4 deforaos-libsystem: update to 0.4.3
Changes since 0.4.2:
- API changes (version bump for libSystem.so)
- no longer build the tests by default
- bug fixes
- use XML to build documentation with Gtk-Doc

Changes specific to pkgsrc:
- use libtool to build libSystem.so

The latter should fix the build on macOS.
2022-04-12 22:02:17 +00:00

28 lines
620 B
Bash

$NetBSD: patch-tests_tests.sh,v 1.7 2022/04/12 22:02:17 khorben Exp $
Avoid building the (experimental) Python binding.
--- tests/tests.sh.orig 2022-04-12 20:24:02.000000000 +0000
+++ tests/tests.sh
@@ -122,21 +122,6 @@ fi
tests="array buffer config error event includes parser string variable"
failures=
-$PKGCONFIG --exists "python-2.7"
-case $? in
- 127)
- failures="pkgconfig.sh python.sh"
- ;;
- 0)
- if [ -n "$PKG_CONFIG_SYSROOT_DIR" ]; then
- #XXX cross-compiling
- tests="pkgconfig.sh python.sh"
- fi
- ;;
- *)
- failures="$failures python.sh"
- ;;
-esac
while [ $# -ne 0 ]; do
target="$1"