mirror of
https://git.freebsd.org/ports.git
synced 2025-06-03 20:06:29 -04:00
This fixes a crasher when using the glade3 application [1] Reported by: George Mitchell <george@m5p.com>
24 lines
1.1 KiB
Text
24 lines
1.1 KiB
Text
--- configure.orig 2011-03-03 13:42:44.000000000 +0100
|
|
+++ configure 2011-03-03 13:44:03.000000000 +0100
|
|
@@ -14138,7 +14138,7 @@
|
|
$as_echo_n "checking for headers required to compile python extensions... " >&6; }
|
|
py_prefix=`$PYTHON -c "import sys; print sys.prefix"`
|
|
py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
|
|
-if test "x$PYTHON_INCLUDES" == x; then
|
|
+if test "x$PYTHON_INCLUDES" = x; then
|
|
PYTHON_INCLUDES="-I${py_prefix}/include/python${PYTHON_VERSION}"
|
|
if test "$py_prefix" != "$py_exec_prefix"; then
|
|
PYTHON_INCLUDES="$PYTHON_INCLUDES -I${py_exec_prefix}/include/python${PYTHON_VERSION}"
|
|
@@ -14167,10 +14167,10 @@
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries required to embed python" >&5
|
|
$as_echo_n "checking for libraries required to embed python... " >&6; }
|
|
py_exec_prefix=`$PYTHON -c "import sys; print sys.exec_prefix"`
|
|
-if test "x$PYTHON_LIBS" == x; then
|
|
+if test "x$PYTHON_LIBS" = x; then
|
|
PYTHON_LIBS="-L${py_prefix}/lib -lpython${PYTHON_VERSION}"
|
|
fi
|
|
-if test "x$PYTHON_LIB_LOC" == x; then
|
|
+if test "x$PYTHON_LIB_LOC" = x; then
|
|
PYTHON_LIB_LOC="${py_prefix}/lib"
|
|
fi
|
|
|