Files
bsdports/graph/graphviz/files/_patch-x-configure
2019-12-26 07:26:06 +00:00

135 lines
6.0 KiB
Plaintext

--- ./configure.orig 2009-06-17 02:24:55.000000000 +0300
+++ ./configure 2009-10-02 21:46:35.929308964 +0300
@@ -32406,12 +32406,12 @@
pkg_cv_RSVG_CFLAGS="$RSVG_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0\"") >&5
- ($PKG_CONFIG --exists --print-errors "librsvg-2.0") 2>&5
+ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librsvg\"") >&5
+ ($PKG_CONFIG --exists --print-errors "librsvg") 2>&5
ac_status=$?
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
- pkg_cv_RSVG_CFLAGS=`$PKG_CONFIG --cflags "librsvg-2.0" 2>/dev/null`
+ pkg_cv_RSVG_CFLAGS=`$PKG_CONFIG --cflags "librsvg" 2>/dev/null`
else
pkg_failed=yes
fi
@@ -32422,12 +32422,12 @@
pkg_cv_RSVG_LIBS="$RSVG_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librsvg-2.0\"") >&5
- ($PKG_CONFIG --exists --print-errors "librsvg-2.0") 2>&5
+ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"librsvg\"") >&5
+ ($PKG_CONFIG --exists --print-errors "librsvg") 2>&5
ac_status=$?
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
- pkg_cv_RSVG_LIBS=`$PKG_CONFIG --libs "librsvg-2.0" 2>/dev/null`
+ pkg_cv_RSVG_LIBS=`$PKG_CONFIG --libs "librsvg" 2>/dev/null`
else
pkg_failed=yes
fi
@@ -32445,9 +32445,9 @@
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- RSVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "librsvg-2.0" 2>&1`
+ RSVG_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "librsvg" 2>&1`
else
- RSVG_PKG_ERRORS=`$PKG_CONFIG --print-errors "librsvg-2.0" 2>&1`
+ RSVG_PKG_ERRORS=`$PKG_CONFIG --print-errors "librsvg" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$RSVG_PKG_ERRORS" >&5
@@ -33624,12 +33624,12 @@
pkg_cv_GDK_PIXBUF_CFLAGS="$GDK_PIXBUF_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\"") >&5
- ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
+ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf\"") >&5
+ ($PKG_CONFIG --exists --print-errors "gdk-pixbuf") 2>&5
ac_status=$?
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
- pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf-2.0" 2>/dev/null`
+ pkg_cv_GDK_PIXBUF_CFLAGS=`$PKG_CONFIG --cflags "gdk-pixbuf" 2>/dev/null`
else
pkg_failed=yes
fi
@@ -33640,12 +33640,12 @@
pkg_cv_GDK_PIXBUF_LIBS="$GDK_PIXBUF_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf-2.0\"") >&5
- ($PKG_CONFIG --exists --print-errors "gdk-pixbuf-2.0") 2>&5
+ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gdk-pixbuf\"") >&5
+ ($PKG_CONFIG --exists --print-errors "gdk-pixbuf") 2>&5
ac_status=$?
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
- pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf-2.0" 2>/dev/null`
+ pkg_cv_GDK_PIXBUF_LIBS=`$PKG_CONFIG --libs "gdk-pixbuf" 2>/dev/null`
else
pkg_failed=yes
fi
@@ -33663,9 +33663,9 @@
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gdk-pixbuf-2.0" 2>&1`
+ GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gdk-pixbuf" 2>&1`
else
- GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gdk-pixbuf-2.0" 2>&1`
+ GDK_PIXBUF_PKG_ERRORS=`$PKG_CONFIG --print-errors "gdk-pixbuf" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$GDK_PIXBUF_PKG_ERRORS" >&5
@@ -33727,12 +33727,12 @@
pkg_cv_GTK_CFLAGS="$GTK_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.7.0\"") >&5
- ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.7.0") 2>&5
+ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+ >= 2.7.0\"") >&5
+ ($PKG_CONFIG --exists --print-errors "gtk+ >= 2.7.0") 2>&5
ac_status=$?
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
- pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.7.0" 2>/dev/null`
+ pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+ >= 2.7.0" 2>/dev/null`
else
pkg_failed=yes
fi
@@ -33743,12 +33743,12 @@
pkg_cv_GTK_LIBS="$GTK_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.7.0\"") >&5
- ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.7.0") 2>&5
+ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+ >= 2.7.0\"") >&5
+ ($PKG_CONFIG --exists --print-errors "gtk+ >= 2.7.0") 2>&5
ac_status=$?
$as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
(exit $ac_status); }; then
- pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.7.0" 2>/dev/null`
+ pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+ >= 2.7.0" 2>/dev/null`
else
pkg_failed=yes
fi
@@ -33766,9 +33766,9 @@
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= 2.7.0" 2>&1`
+ GTK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+ >= 2.7.0" 2>&1`
else
- GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= 2.7.0" 2>&1`
+ GTK_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+ >= 2.7.0" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$GTK_PKG_ERRORS" >&5