openbsd-ports/x11/gnome/conduit/patches/patch-configure
ajacoutot d37322717a - update to conduit-0.3.16
ok jasper@
2009-07-12 19:56:38 +00:00

33 lines
798 B
Plaintext

$OpenBSD: patch-configure,v 1.2 2009/07/12 19:56:38 ajacoutot Exp $
Prevent errors like this during configure:
GtkWarning: could not open display
--- configure.orig Sat Jun 27 10:17:50 2009
+++ configure Sat Jun 27 10:18:28 2009
@@ -7007,23 +7007,7 @@ fi
v=`echo 0.9.0 | sed -e "s/\./,/g"`
{ $as_echo "$as_me:$LINENO: checking for 0.9.0 of goocanvas" >&5
$as_echo_n "checking for 0.9.0 of goocanvas... " >&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"`
+out="yes"
if test "x$out" = xyes; then
{ $as_echo "$as_me:$LINENO: result: yes" >&5
$as_echo "yes" >&6; }