source: trunk/dports/editors/MacVim/files/patch-python3.diff @ 111451

Last change on this file since 111451 was 111451, checked in by raimue@…, 4 years ago

editors/MacVim:
Update to version 7.4.snapshot71

File size: 2.4 KB
  • src/configure.in

    old new  
    11621162AC_MSG_RESULT($enable_python3interp)
    11631163if test "$enable_python3interp" = "yes" -o "$enable_python3interp" = "dynamic"; then
    11641164  dnl -- find the python3 executable
    1165   AC_PATH_PROGS(vi_cv_path_python3, python3 python)
     1165  AC_MSG_CHECKING(--with-python3 argument)
     1166  AC_ARG_WITH(python3, [  --with-python3=PATH       which python to use (default: python3)],
     1167        python_name="$withval"; AC_MSG_RESULT($python_name),
     1168        python_name="python3"; AC_MSG_RESULT(no))
     1169  AC_SUBST(vi_cv_path_python3, $python_name)
    11661170  if test "X$vi_cv_path_python3" != "X"; then
    11671171
    11681172    dnl -- get its version number
     
    12571261            dnl -- delete the lines from make about Entering/Leaving directory
    12581262            eval "`cd ${PYTHON3_CONFDIR} && make -f "${tmp_mkf}" __ | sed '/ directory /d'`"
    12591263            rm -f -- "${tmp_mkf}"
    1260             vi_cv_path_python3_plibs="-L${PYTHON3_CONFDIR} -lpython${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags}"
    1261             vi_cv_path_python3_plibs="${vi_cv_path_python3_plibs} ${python3_BASEMODLIBS} ${python3_LIBS} ${python3_SYSLIBS}"
     1264            vi_cv_path_python3_plibs="`${vi_cv_path_python3}-config --ldflags`"
    12621265            dnl remove -ltermcap, it can conflict with an earlier -lncurses
    12631266            vi_cv_path_python3_plibs=`echo $vi_cv_path_python3_plibs | sed s/-ltermcap//`
    12641267            vi_cv_path_python3_plibs=`echo $vi_cv_path_python3_plibs | sed s/-lffi//`
     
    12681271          python3_INSTSONAME="$python3_DLLLIBRARY"
    12691272        fi
    12701273        PYTHON3_LIBS="${vi_cv_path_python3_plibs}"
    1271         if test "${vi_cv_path_python3_pfx}" = "${vi_cv_path_python3_epfx}"; then
    1272           PYTHON3_CFLAGS="-I${vi_cv_path_python3_pfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags} -DPYTHON3_HOME='L\"${vi_cv_path_python3_pfx}\"'"
    1273         else
    1274           PYTHON3_CFLAGS="-I${vi_cv_path_python3_pfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags} -I${vi_cv_path_python3_epfx}/include/python${vi_cv_var_python3_version}${vi_cv_var_python3_abiflags} -DPYTHON3_HOME='L\"${vi_cv_path_python3_pfx}\"'"
    1275         fi
     1274        PYTHON3_CFLAGS="`${vi_cv_path_python3}-config --includes` -DPYTHON3_HOME='L\"${vi_cv_path_python3_pfx}\"'"
    12761275        PYTHON3_SRC="if_python3.c"
    12771276        PYTHON3_OBJ="objects/if_python3.o"
    12781277 
Note: See TracBrowser for help on using the repository browser.