From 80924fffb87a26b2135ad22fa7d73b6cb7c880d2 Mon Sep 17 00:00:00 2001 From: kwm Date: Mon, 19 Sep 2011 15:28:24 +0000 Subject: Fix build on 8.x and 7.x. 9.x accepts "test a == b" git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@16268 df743ca5-7f9a-e211-a948-0013205c9059 --- devel/py-gobject3/files/patch-configure | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 devel/py-gobject3/files/patch-configure (limited to 'devel/py-gobject3') diff --git a/devel/py-gobject3/files/patch-configure b/devel/py-gobject3/files/patch-configure new file mode 100644 index 000000000..280b02ca4 --- /dev/null +++ b/devel/py-gobject3/files/patch-configure @@ -0,0 +1,24 @@ +--- configure.orig 2011-09-19 17:19:31.000000000 +0200 ++++ configure 2011-09-19 17:19:16.000000000 +0200 +@@ -14913,7 +14913,7 @@ + + { $as_echo "$as_me:${as_lineno-$LINENO}: checking for headers required to compile python extensions" >&5 + $as_echo_n "checking for headers required to compile python extensions... " >&6; } +-if test "x$PYTHON_INCLUDES" == x; then ++if test "x$PYTHON_INCLUDES" = x; then + PYTHON_CONFIG=`which $PYTHON`-config + if test -x "$PYTHON_CONFIG"; then + PYTHON_INCLUDES=`$PYTHON_CONFIG --includes 2>/dev/null` +@@ -14950,10 +14950,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 + -- cgit v1.2.3