openbsd-ports/x11/gnome/controlcenter/patches/patch-configure
2011-09-27 12:15:23 +00:00

104 lines
3.8 KiB
Plaintext

$OpenBSD: patch-configure,v 1.13 2011/09/27 12:15:23 ajacoutot Exp $
No colord on OpenBSD.
--- configure.orig Tue Sep 27 11:36:47 2011
+++ configure Tue Sep 27 11:37:11 2011
@@ -14929,96 +14929,6 @@ $as_echo "yes" >&6; }
fi
-pkg_failed=no
-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for COLOR_PANEL" >&5
-$as_echo_n "checking for COLOR_PANEL... " >&6; }
-
-if test -n "$COLOR_PANEL_CFLAGS"; then
- pkg_cv_COLOR_PANEL_CFLAGS="$COLOR_PANEL_CFLAGS"
- elif test -n "$PKG_CONFIG"; then
- if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$COMMON_MODULES colord >= 0.1.8\""; } >&5
- ($PKG_CONFIG --exists --print-errors "$COMMON_MODULES colord >= 0.1.8") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then
- pkg_cv_COLOR_PANEL_CFLAGS=`$PKG_CONFIG --cflags "$COMMON_MODULES colord >= 0.1.8" 2>/dev/null`
- test "x$?" != "x0" && pkg_failed=yes
-else
- pkg_failed=yes
-fi
- else
- pkg_failed=untried
-fi
-if test -n "$COLOR_PANEL_LIBS"; then
- pkg_cv_COLOR_PANEL_LIBS="$COLOR_PANEL_LIBS"
- elif test -n "$PKG_CONFIG"; then
- if test -n "$PKG_CONFIG" && \
- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$COMMON_MODULES colord >= 0.1.8\""; } >&5
- ($PKG_CONFIG --exists --print-errors "$COMMON_MODULES colord >= 0.1.8") 2>&5
- ac_status=$?
- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
- test $ac_status = 0; }; then
- pkg_cv_COLOR_PANEL_LIBS=`$PKG_CONFIG --libs "$COMMON_MODULES colord >= 0.1.8" 2>/dev/null`
- test "x$?" != "x0" && pkg_failed=yes
-else
- pkg_failed=yes
-fi
- else
- pkg_failed=untried
-fi
-
-
-
-if test $pkg_failed = yes; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
-
-if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
- _pkg_short_errors_supported=yes
-else
- _pkg_short_errors_supported=no
-fi
- if test $_pkg_short_errors_supported = yes; then
- COLOR_PANEL_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "$COMMON_MODULES colord >= 0.1.8" 2>&1`
- else
- COLOR_PANEL_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "$COMMON_MODULES colord >= 0.1.8" 2>&1`
- fi
- # Put the nasty error message in config.log where it belongs
- echo "$COLOR_PANEL_PKG_ERRORS" >&5
-
- as_fn_error $? "Package requirements ($COMMON_MODULES colord >= 0.1.8) were not met:
-
-$COLOR_PANEL_PKG_ERRORS
-
-Consider adjusting the PKG_CONFIG_PATH environment variable if you
-installed software in a non-standard prefix.
-
-Alternatively, you may set the environment variables COLOR_PANEL_CFLAGS
-and COLOR_PANEL_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details." "$LINENO" 5
-elif test $pkg_failed = untried; then
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
-$as_echo "no" >&6; }
- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
-as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
-is in your PATH or set the PKG_CONFIG environment variable to the full
-path to pkg-config.
-
-Alternatively, you may set the environment variables COLOR_PANEL_CFLAGS
-and COLOR_PANEL_LIBS to avoid the need to call pkg-config.
-See the pkg-config man page for more details.
-
-To get pkg-config, see <http://pkg-config.freedesktop.org/>.
-See \`config.log' for more details" "$LINENO" 5; }
-else
- COLOR_PANEL_CFLAGS=$pkg_cv_COLOR_PANEL_CFLAGS
- COLOR_PANEL_LIBS=$pkg_cv_COLOR_PANEL_LIBS
- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
-$as_echo "yes" >&6; }
-
-fi
pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for PRINTERS_PANEL" >&5