Tighten dependencies, set a proper CA certificate file path and don't pass socket options we don't support.
28 lines
1.2 KiB
Plaintext
28 lines
1.2 KiB
Plaintext
$OpenBSD: patch-configure,v 1.9 2010/09/24 10:06:19 ajacoutot Exp $
|
|
--- configure.orig Tue Sep 21 20:01:15 2010
|
|
+++ configure Tue Sep 21 20:02:11 2010
|
|
@@ -2590,14 +2590,6 @@ echo timestamp > conftest.file
|
|
# name. Accept space and tab only in the latter.
|
|
am_lf='
|
|
'
|
|
-case `pwd` in
|
|
- *[\\\"\#\$\&\'\`$am_lf]*)
|
|
- as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
|
|
-esac
|
|
-case $srcdir in
|
|
- *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
|
|
- as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
|
|
-esac
|
|
|
|
# Do `set' in a subshell so we don't clobber the current shell's
|
|
# arguments. Must try -L first in case configure is actually a
|
|
@@ -12850,7 +12842,7 @@ $as_echo_n "checking whether $PYTHON version >= 2.5...
|
|
# split strings by '.' and convert to numeric. Append some zeros
|
|
# because we need at least 4 digits for the hex conversion.
|
|
# map returns an iterator in Python 3.0 and a list in 2.x
|
|
-minver = list(map(int, '2.5'.split('.'))) + [0, 0, 0]
|
|
+minver = list(map(int, '${MODPY_VERSION}'.split('.'))) + [0, 0, 0]
|
|
minverhex = 0
|
|
# xrange is not present in Python 3.0 and range returns an iterator
|
|
for i in list(range(0, 4)): minverhex = (minverhex << 8) + minver[i]
|