diff --git a/app-text/htmltidy/tidy-5.8.0.recipe b/app-text/htmltidy/tidy-5.8.0.recipe
index 835c8fd7b..b131ed01c 100644
--- a/app-text/htmltidy/tidy-5.8.0.recipe
+++ b/app-text/htmltidy/tidy-5.8.0.recipe
@@ -4,7 +4,7 @@ and developers can easily integrate its features into even more powerful tools."
HOMEPAGE="http://www.html-tidy.org/"
COPYRIGHT="1998-2022 World Wide Web Consortium"
LICENSE="MIT"
-REVISION="1"
+REVISION="2"
SOURCE_URI="https://github.com/htacg/tidy-html5/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="59c86d5b2e452f63c5cdb29c866a12a4c55b1741d7025cf2f3ce0cde99b0660e"
SOURCE_DIR="tidy-html5-$portVersion"
@@ -13,7 +13,7 @@ ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
libVersion="$portVersion"
-libVersionCompat="$libVersion compat >= 58"
+libVersionCompat="$libVersion compat >= 5"
PROVIDES="
tidy$secondaryArchSuffix = $portVersion