openbsd-ports/net/telepathy/telepathy-butterfly/patches/patch-configure
2010-04-23 12:40:56 +00:00

35 lines
1.4 KiB
Plaintext

$OpenBSD: patch-configure,v 1.1 2010/04/23 12:40:56 jasper Exp $
--- configure.orig Thu Apr 8 15:13:31 2010
+++ configure Thu Apr 22 18:19:01 2010
@@ -1812,14 +1812,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
@@ -2237,13 +2229,13 @@ if test "${am_cv_pathless_PYTHON+set}" = set; then :
$as_echo_n "(cached) " >&6
else
- for am_cv_pathless_PYTHON in python python2 python3 python3.0 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 none; do
+ for am_cv_pathless_PYTHON in python${MODPY_VERSION}; do
test "$am_cv_pathless_PYTHON" = none && break
prog="import sys
# 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.4.0'.split('.'))) + [0, 0, 0]
+minver = list(map(int, '2.5.0'.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]