pkgsrc/net/monsoon/patches/patch-ab
2015-12-29 04:04:26 +00:00

63 lines
2.8 KiB
Text

$NetBSD: patch-ab,v 1.2 2015/12/29 04:04:30 dholland Exp $
--- configure.orig 2009-07-16 10:27:45.000000000 +0300
+++ configure 2009-07-16 10:28:37.000000000 +0300
@@ -3561,12 +3561,12 @@
pkg_cv_MONOTORRENT_CFLAGS="$MONOTORRENT_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"monotorrent = 0.70\"") >&5
- ($PKG_CONFIG --exists --print-errors "monotorrent = 0.70") 2>&5
+ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"monotorrent >= 0.70\"") >&5
+ ($PKG_CONFIG --exists --print-errors "monotorrent >= 0.70") 2>&5
ac_status=$?
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
- pkg_cv_MONOTORRENT_CFLAGS=`$PKG_CONFIG --cflags "monotorrent = 0.70" 2>/dev/null`
+ pkg_cv_MONOTORRENT_CFLAGS=`$PKG_CONFIG --cflags "monotorrent >= 0.70" 2>/dev/null`
else
pkg_failed=yes
fi
@@ -3577,12 +3577,12 @@
pkg_cv_MONOTORRENT_LIBS="$MONOTORRENT_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"monotorrent = 0.70\"") >&5
- ($PKG_CONFIG --exists --print-errors "monotorrent = 0.70") 2>&5
+ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"monotorrent >= 0.70\"") >&5
+ ($PKG_CONFIG --exists --print-errors "monotorrent >= 0.70") 2>&5
ac_status=$?
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
- pkg_cv_MONOTORRENT_LIBS=`$PKG_CONFIG --libs "monotorrent = 0.70" 2>/dev/null`
+ pkg_cv_MONOTORRENT_LIBS=`$PKG_CONFIG --libs "monotorrent >= 0.70" 2>/dev/null`
else
pkg_failed=yes
fi
@@ -3600,14 +3600,14 @@
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- MONOTORRENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "monotorrent = 0.70" 2>&1`
+ MONOTORRENT_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "monotorrent >= 0.70" 2>&1`
else
- MONOTORRENT_PKG_ERRORS=`$PKG_CONFIG --print-errors "monotorrent = 0.70" 2>&1`
+ MONOTORRENT_PKG_ERRORS=`$PKG_CONFIG --print-errors "monotorrent >= 0.70" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$MONOTORRENT_PKG_ERRORS" >&5
- { { $as_echo "$as_me:$LINENO: error: Package requirements (monotorrent = 0.70) were not met:
+ { { $as_echo "$as_me:$LINENO: error: Package requirements (monotorrent >= 0.70) were not met:
$MONOTORRENT_PKG_ERRORS
@@ -3618,7 +3618,7 @@
and MONOTORRENT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
" >&5
-$as_echo "$as_me: error: Package requirements (monotorrent = 0.70) were not met:
+$as_echo "$as_me: error: Package requirements (monotorrent >= 0.70) were not met:
$MONOTORRENT_PKG_ERRORS