mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-23 03:33:34 -04:00
57 lines
2.9 KiB
Plaintext
57 lines
2.9 KiB
Plaintext
$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
|
|
|