ports/comms/wsjt/files/patch-configure.ac
Diane Bruce c98ccae7fd "can't find the Python and f2py and fail to build"
Patch provided hard codes the full python path to use.

PR:		ports/208274
Submitted by:	takefu@airport.fm
2016-03-25 14:35:34 +00:00

20 lines
507 B
Text

--- configure.ac.orig 2014-04-30 19:38:38 UTC
+++ configure.ac
@@ -75,7 +75,7 @@ AC_PATH_PROG(AR, ar)
AC_PATH_PROG(LD, ld)
AC_PATH_PROG(TEST, [test], [test])
AC_PATH_PROG(PYTHON, python)
-AC_PATH_PROG(F2PY, f2py)
+AC_PATH_PROG(F2PY, f2py-%%PYTHON_VER%%)
AC_SUBST(VERSION, "${version}")
AC_MSG_CHECKING([OS])
OS=`uname`
@@ -206,7 +206,7 @@ fi
if test "$F2PY" = ""; then
echo "You are missing f2py, trying local copy."
- F2PY="python f2py.py";
+ F2PY="%%PYTHON%% f2py-%%PYTHON_VER%%";
fi
dnl