diff --git a/devel/geany-plugin-markdown/Makefile b/devel/geany-plugin-markdown/Makefile index 2a1cf73f995f9..95bfbd1e00733 100644 --- a/devel/geany-plugin-markdown/Makefile +++ b/devel/geany-plugin-markdown/Makefile @@ -1,13 +1,14 @@ PORTNAME= geany-plugin-markdown PORTVERSION= ${GEANY_VER} +PORTREVISION= 1 CATEGORIES= devel MAINTAINER= madpilot@FreeBSD.org COMMENT= Geany plugin: ${${GEANY_PLUGIN}_DESC} WWW= https://plugins.geany.org/markdown.html -LIB_DEPENDS= libsoup-2.4.so:devel/libsoup \ - libwebkit2gtk-4.0.so:www/webkit2-gtk3 +LIB_DEPENDS= libsoup-3.0.so:devel/libsoup3 \ + libwebkit2gtk-4.1.so:www/webkit2-gtk3 OPTIONS_DEFINE= DOCS diff --git a/devel/geany-plugin-markdown/files/patch-build_markdown.m4 b/devel/geany-plugin-markdown/files/patch-build_markdown.m4 new file mode 100644 index 0000000000000..c6d7ea2e4af03 --- /dev/null +++ b/devel/geany-plugin-markdown/files/patch-build_markdown.m4 @@ -0,0 +1,18 @@ +--- build/markdown.m4.orig 2024-05-24 20:17:22 UTC ++++ build/markdown.m4 +@@ -49,13 +49,13 @@ AC_DEFUN([GP_CHECK_MARKDOWN], + GTK_VERSION=2.16 + WEBKIT_VERSION=1.1.13 + +- GP_CHECK_GTK3([webkit_package=webkit2gtk-4.0], ++ GP_CHECK_GTK3([webkit_package=webkit2gtk-4.1], + [webkit_package=webkit-1.0]) + GP_CHECK_PLUGIN_DEPS([markdown], [MARKDOWN], + [$GP_GTK_PACKAGE >= ${GTK_VERSION} + $webkit_package >= ${WEBKIT_VERSION} + gthread-2.0]) +- AM_CONDITIONAL([MARKDOWN_WEBKIT2], [test "$webkit_package" = webkit2gtk-4.0]) ++ AM_CONDITIONAL([MARKDOWN_WEBKIT2], [test "$webkit_package" = webkit2gtk-4.1]) + + GP_COMMIT_PLUGIN_STATUS([Markdown]) +