summaryrefslogtreecommitdiff
path: root/inputmethod/scim-chewing/patches/patch-configure
blob: be55ef45d667f123eec5c09486b23e315777a96d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
$NetBSD: patch-configure,v 1.1 2013/08/10 09:31:37 obache Exp $

* relax required chwing version

--- configure.orig	2013-08-10 09:18:56.000000000 +0000
+++ configure
@@ -19601,12 +19601,12 @@ if test -n "$CHEWING_CFLAGS"; then
     pkg_cv_CHEWING_CFLAGS="$CHEWING_CFLAGS"
  elif test -n "$PKG_CONFIG"; then
     if test -n "$PKG_CONFIG" && \
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"chewing = \$CHEWING_VERSION\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "chewing = $CHEWING_VERSION") 2>&5
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"chewing >= \$CHEWING_VERSION\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "chewing >= $CHEWING_VERSION") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-  pkg_cv_CHEWING_CFLAGS=`$PKG_CONFIG --cflags "chewing = $CHEWING_VERSION" 2>/dev/null`
+  pkg_cv_CHEWING_CFLAGS=`$PKG_CONFIG --cflags "chewing >= $CHEWING_VERSION" 2>/dev/null`
 		      test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
@@ -19618,12 +19618,12 @@ if test -n "$CHEWING_LIBS"; then
     pkg_cv_CHEWING_LIBS="$CHEWING_LIBS"
  elif test -n "$PKG_CONFIG"; then
     if test -n "$PKG_CONFIG" && \
-    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"chewing = \$CHEWING_VERSION\""; } >&5
-  ($PKG_CONFIG --exists --print-errors "chewing = $CHEWING_VERSION") 2>&5
+    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"chewing >= \$CHEWING_VERSION\""; } >&5
+  ($PKG_CONFIG --exists --print-errors "chewing >= $CHEWING_VERSION") 2>&5
   ac_status=$?
   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
   test $ac_status = 0; }; then
-  pkg_cv_CHEWING_LIBS=`$PKG_CONFIG --libs "chewing = $CHEWING_VERSION" 2>/dev/null`
+  pkg_cv_CHEWING_LIBS=`$PKG_CONFIG --libs "chewing >= $CHEWING_VERSION" 2>/dev/null`
 		      test "x$?" != "x0" && pkg_failed=yes
 else
   pkg_failed=yes
@@ -19644,14 +19644,14 @@ else
         _pkg_short_errors_supported=no
 fi
         if test $_pkg_short_errors_supported = yes; then
-	        CHEWING_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "chewing = $CHEWING_VERSION" 2>&1`
+	        CHEWING_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "chewing >= $CHEWING_VERSION" 2>&1`
         else
-	        CHEWING_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "chewing = $CHEWING_VERSION" 2>&1`
+	        CHEWING_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "chewing >= $CHEWING_VERSION" 2>&1`
         fi
 	# Put the nasty error message in config.log where it belongs
 	echo "$CHEWING_PKG_ERRORS" >&5
 
-	as_fn_error $? "Package requirements (chewing = $CHEWING_VERSION) were not met:
+	as_fn_error $? "Package requirements (chewing >= $CHEWING_VERSION) were not met:
 
 $CHEWING_PKG_ERRORS