ports/graphics/lcms-python/files/patch-configure
Antoine Brodin f7455240e3 Reduce dependency on the python2 metaport
PR:		225752
Submitted by:	Yasuhiro KIMURA
2018-02-19 11:10:43 +00:00

11 lines
593 B
Text

--- configure.orig 2018-02-06 01:53:28 UTC
+++ configure
@@ -5287,7 +5287,7 @@ if test "${am_cv_pathless_PYTHON+set}" =
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- for am_cv_pathless_PYTHON in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
+ for am_cv_pathless_PYTHON in python python2 python2.7 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
test "$am_cv_pathless_PYTHON" = none && break
prog="import sys, string
# split strings by '.' and convert to numeric. Append some zeros