diff options
Diffstat (limited to 'devel/libmpsse/files/patch-configure.ac')
-rw-r--r-- | devel/libmpsse/files/patch-configure.ac | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/devel/libmpsse/files/patch-configure.ac b/devel/libmpsse/files/patch-configure.ac deleted file mode 100644 index c7bdeb67aed0..000000000000 --- a/devel/libmpsse/files/patch-configure.ac +++ /dev/null @@ -1,43 +0,0 @@ ---- configure.ac.orig 2015-06-11 12:50:50 UTC -+++ configure.ac -@@ -42,6 +42,31 @@ then - exit 1 - fi - -+ if ! test $PYEXE -+ then -+ PYEXE=$(which python2.7) -+ if ! test ${PYEXE} -+ then -+ PYEXE=$(which python) -+ fi -+ fi -+ echo $PYEXE -+ -+ if ! test $PYDEV -+ then -+ for INCL in $(python2.7-config --includes) -+ do -+ echo $INCL -+ INCL=$(echo "${INCL}" | sed 's:^-I::g') -+ echo $INCL -+ if test -f "${INCL}/Python.h" -+ then -+ PYDEV="${INCL}" -+ break; -+ fi; -+ done -+ fi -+ - if ! test $PYDEV - then - PYDEV="/usr/include/python$(python -V 2>&1 | awk '{print $2}' | cut -d'.' -f1,2)" -@@ -54,7 +79,7 @@ then - dnl This is a hack to get a valid python library path - echo "import sys" > pylib.py - echo "for path in sys.path: print path" >> pylib.py -- PYLIB="$(python pylib.py | grep -e '-packages$' | head -1)" -+ PYLIB="$(${PYEXE} pylib.py | grep -e '-packages$' | head -1)" - rm -f pylib.py - fi - |