blob: 7ef0c834aacf59462bdcbf2a2c33c9319ee2ab00 (
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
29
30
31
32
33
34
|
$NetBSD: patch-configure,v 1.3 2021/03/04 10:34:24 leot Exp $
- Avoid `${parameter/pattern/string}' bash-ism
- Only honor `--with-python' configure argument and completely ignore
possible PYTHON environment variable that could be passed via
CONFIGURE_ENV by pkgsrc
--- configure.orig 2021-02-14 06:54:03.000000000 +0000
+++ configure
@@ -24020,6 +24020,7 @@ fi
+if false; then
if test -z "$PYTHON"; then :
if test "x$with_python" = "xauto"; then :
for ac_prog in python3 python2 python
@@ -24176,6 +24177,7 @@ else
with_python="auto"
fi
+fi
if test "x$with_python" != "xno"; then :
@@ -25265,7 +25267,7 @@ else
fi
-JAVAC=${JAVAC/ecj/ecj -1.5}
+JAVAC=`echo "$JAVAC" | sed -e 's/ecj/ecj -1.5/'`
if test -z "$JAVAH"; then :
for ac_prog in javah
|