ports/math/gnumeric/files/patch-configure
2007-07-29 07:36:57 +00:00

55 lines
2.5 KiB
Text

--- configure.orig 2007-07-29 02:46:18.000000000 -0400
+++ configure 2007-07-29 02:48:14.000000000 -0400
@@ -23472,12 +23472,12 @@ if test -n "$PKG_CONFIG"; then
pkg_cv_GB_CFLAGS="$GB_CFLAGS"
else
if test -n "$PKG_CONFIG" && \
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgb == 1.17\"") >&5
- ($PKG_CONFIG --exists --print-errors "libgb == 1.17") 2>&5
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgb = 1.17\"") >&5
+ ($PKG_CONFIG --exists --print-errors "libgb = 1.17") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
- pkg_cv_GB_CFLAGS=`$PKG_CONFIG --cflags "libgb == 1.17" 2>/dev/null`
+ pkg_cv_GB_CFLAGS=`$PKG_CONFIG --cflags "libgb = 1.17" 2>/dev/null`
else
pkg_failed=yes
fi
@@ -23490,12 +23490,12 @@ if test -n "$PKG_CONFIG"; then
pkg_cv_GB_LIBS="$GB_LIBS"
else
if test -n "$PKG_CONFIG" && \
- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgb == 1.17\"") >&5
- ($PKG_CONFIG --exists --print-errors "libgb == 1.17") 2>&5
+ { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgb = 1.17\"") >&5
+ ($PKG_CONFIG --exists --print-errors "libgb = 1.17") 2>&5
ac_status=$?
echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
- pkg_cv_GB_LIBS=`$PKG_CONFIG --libs "libgb == 1.17" 2>/dev/null`
+ pkg_cv_GB_LIBS=`$PKG_CONFIG --libs "libgb = 1.17" 2>/dev/null`
else
pkg_failed=yes
fi
@@ -23514,9 +23514,9 @@ else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- GB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgb == 1.17"`
+ GB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgb = 1.17"`
else
- GB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgb == 1.17"`
+ GB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgb = 1.17"`
fi
# Put the nasty error message in config.log where it belongs
echo "$GB_PKG_ERRORS" >&5
@@ -27943,7 +27943,7 @@ echo $ECHO_N "checking
======== for python = 2.x... $ECHO_C" >&6; }
PY_VERSION=`$PYTHON -c 'import sys ; sys.stdout.write(sys.version[0:3])'`
major_ver=`$PYTHON -c 'import sys ; sys.stdout.write(sys.version[0:1])'`
- if test "x$major_ver" == "x2"; then
+ if test "x$major_ver" = "x2"; then
{ echo "$as_me:$LINENO: result: yes" >&5
echo "${ECHO_T}yes" >&6; }
else