summaryrefslogtreecommitdiff
path: root/devel/deforaos-libsystem/patches/patch-tests_tests.sh
blob: 28fe843b605ee48bb844229f41d5e6afd42506b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$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"