ports/graphics/pstoedit/files/patch-configure
Nuno Teixeira 69d2986c03 graphics/pstoedit: Update to 4.0.0
- Switch to DISTVERSION
 - Define license
 - Take maintainership

ChangeLog: http://www.calvina.de/pstoedit/changelog.htm
2023-06-22 20:23:29 +01:00

46 lines
2.4 KiB
Text

--- configure.orig 2023-06-22 08:13:13 UTC
+++ configure
@@ -19097,12 +19097,12 @@ if test -n "$LIBMAGICK_CFLAGS"; then
pkg_cv_LIBMAGICK_CFLAGS="$LIBMAGICK_CFLAGS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ImageMagick++\""; } >&5
- ($PKG_CONFIG --exists --print-errors "ImageMagick++") 2>&5
+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Magick++\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "Magick++") 2>&5
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_LIBMAGICK_CFLAGS=`$PKG_CONFIG --cflags "ImageMagick++" 2>/dev/null`
+ pkg_cv_LIBMAGICK_CFLAGS=`$PKG_CONFIG --cflags "Magick++" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
@@ -19114,12 +19114,12 @@ if test -n "$LIBMAGICK_LIBS"; then
pkg_cv_LIBMAGICK_LIBS="$LIBMAGICK_LIBS"
elif test -n "$PKG_CONFIG"; then
if test -n "$PKG_CONFIG" && \
- { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"ImageMagick++\""; } >&5
- ($PKG_CONFIG --exists --print-errors "ImageMagick++") 2>&5
+ { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"Magick++\""; } >&5
+ ($PKG_CONFIG --exists --print-errors "Magick++") 2>&5
ac_status=$?
printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
test $ac_status = 0; }; then
- pkg_cv_LIBMAGICK_LIBS=`$PKG_CONFIG --libs "ImageMagick++" 2>/dev/null`
+ pkg_cv_LIBMAGICK_LIBS=`$PKG_CONFIG --libs "Magick++" 2>/dev/null`
test "x$?" != "x0" && pkg_failed=yes
else
pkg_failed=yes
@@ -19140,9 +19140,9 @@ else
_pkg_short_errors_supported=no
fi
if test $_pkg_short_errors_supported = yes; then
- LIBMAGICK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "ImageMagick++" 2>&1`
+ LIBMAGICK_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "Magick++" 2>&1`
else
- LIBMAGICK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "ImageMagick++" 2>&1`
+ LIBMAGICK_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "Magick++" 2>&1`
fi
# Put the nasty error message in config.log where it belongs
echo "$LIBMAGICK_PKG_ERRORS" >&5