diff options
author | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-09-19 23:28:24 +0800 |
---|---|---|
committer | kwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059> | 2011-09-19 23:28:24 +0800 |
commit | 80924fffb87a26b2135ad22fa7d73b6cb7c880d2 (patch) | |
tree | b39b0fb0c43e8f938c95537f349bb3b63e2add50 /devel/py-gobject3 | |
parent | 27cb4c562f5b974003ce417ea7c23ebf23dd03e5 (diff) | |
download | marcuscom-ports-80924fffb87a26b2135ad22fa7d73b6cb7c880d2.tar marcuscom-ports-80924fffb87a26b2135ad22fa7d73b6cb7c880d2.tar.gz marcuscom-ports-80924fffb87a26b2135ad22fa7d73b6cb7c880d2.tar.bz2 marcuscom-ports-80924fffb87a26b2135ad22fa7d73b6cb7c880d2.tar.lz marcuscom-ports-80924fffb87a26b2135ad22fa7d73b6cb7c880d2.tar.xz marcuscom-ports-80924fffb87a26b2135ad22fa7d73b6cb7c880d2.tar.zst marcuscom-ports-80924fffb87a26b2135ad22fa7d73b6cb7c880d2.zip |
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
Diffstat (limited to 'devel/py-gobject3')
-rw-r--r-- | devel/py-gobject3/files/patch-configure | 24 |
1 files changed, 24 insertions, 0 deletions
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 + |