freebsd-ports/textproc/uim/files/patch-configure
MANTANI Nobutaka 8efd470d6e - Sync with update of japanese/anthy.
- Bump PORTREVISION.
2019-09-14 15:44:01 +00:00

57 lines
3 KiB
Text

--- configure.orig 2018-05-11 21:27:48 UTC
+++ configure
@@ -20052,8 +20052,8 @@ if test "x$with_anthy" = xyes; then
ANTHY_LIBS="-lanthy -lanthydic"
ANTHY_CFLAGS=""
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"anthy >= 8622\""; } >&5
- ($PKG_CONFIG --exists --print-errors "anthy >= 8622") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"anthy >= 0.4\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "anthy >= 0.4") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
@@ -20095,12 +20095,12 @@ if test -n "$ANTHY_UTF8_CFLAGS"; then
pkg_cv_ANTHY_UTF8_CFLAGS="$ANTHY_UTF8_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"anthy >= 8622\""; } >&5
- ($PKG_CONFIG --exists --print-errors "anthy >= 8622") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"anthy >= 0.4\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "anthy >= 0.4") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_ANTHY_UTF8_CFLAGS=`$PKG_CONFIG --cflags "anthy >= 8622" 2>/dev/null`
+ pkg_cv_ANTHY_UTF8_CFLAGS=`$PKG_CONFIG --cflags "anthy >= 0.4" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
@@ -20112,12 +20112,12 @@ if test -n "$ANTHY_UTF8_LIBS"; then
pkg_cv_ANTHY_UTF8_LIBS="$ANTHY_UTF8_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"anthy >= 8622\""; } >&5
- ($PKG_CONFIG --exists --print-errors "anthy >= 8622") 2>&5
+ { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"anthy >= 0.4\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "anthy >= 0.4") 2>&5
ac_status=$?
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_ANTHY_UTF8_LIBS=`$PKG_CONFIG --libs "anthy >= 8622" 2>/dev/null`
+ pkg_cv_ANTHY_UTF8_LIBS=`$PKG_CONFIG --libs "anthy >= 0.4" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
@@ -20138,9 +20138,9 @@ else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- ANTHY_UTF8_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "anthy >= 8622" 2>&1`
+ ANTHY_UTF8_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "anthy >= 0.4" 2>&1`
else
- ANTHY_UTF8_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "anthy >= 8622" 2>&1`
+ ANTHY_UTF8_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "anthy >= 0.4" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$ANTHY_UTF8_PKG_ERRORS" >&5