diff options
Diffstat (limited to 'deskutils/conduit/files/patch-configure')
-rw-r--r-- | deskutils/conduit/files/patch-configure | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/deskutils/conduit/files/patch-configure b/deskutils/conduit/files/patch-configure new file mode 100644 index 000000000000..c7c260c8802f --- /dev/null +++ b/deskutils/conduit/files/patch-configure @@ -0,0 +1,38 @@ +--- configure.orig 2008-03-18 09:06:41.000000000 -0400 ++++ configure 2008-03-18 10:48:08.000000000 -0400 +@@ -6447,24 +6447,8 @@ + v=`echo 0.9.0 | sed -e "s/\./,/g"` + { echo "$as_me:$LINENO: checking for 0.9.0 of goocanvas" >&5 + echo $ECHO_N "checking for 0.9.0 of goocanvas... $ECHO_C" >&6; } +-prog=" +-import goocanvas +-ver = goocanvas.pygoocanvas_version +- +-if type(ver) == str: +- ver = ver.split('.') +- ver = map(int,ver) +- ver = tuple(ver) +-elif type(ver) == tuple: +- pass +-else: +- raise Exception +- +-if ver >= ($v): +- print 'yes' +-" +-out=`$PYTHON -c "$prog"` +-if test "x$out" == xyes; then ++out=yes ++if test "x$out" = xyes; then + { echo "$as_me:$LINENO: result: yes" >&5 + echo "${ECHO_T}yes" >&6; } + else +@@ -6496,7 +6480,7 @@ + print 'yes' + " + out=`$PYTHON -c "$prog"` +-if test "x$out" == xyes; then ++if test "x$out" = xyes; then + { echo "$as_me:$LINENO: result: yes" >&5 + echo "${ECHO_T}yes" >&6; } + else |