aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-21 21:13:23 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-07-21 21:13:23 +0000
commit5e87f51e200fca2d1dff480c5b9a7bcd1f331dc6 (patch)
tree625d09bc9b23c045e0ff8e3835b07b06ffeea039
parent9cc330c3d7c82c4eba70ebc8b843e4f8362cb090 (diff)
downloadports-5e87f51e200fca2d1dff480c5b9a7bcd1f331dc6.tar.gz
ports-5e87f51e200fca2d1dff480c5b9a7bcd1f331dc6.zip
www/py-utidylib: Fix build after 1d58266f9c6a7ad2bad040feeddc77376673b51f
- Bump PORTREVISION for package change
-rw-r--r--www/py-utidylib/Makefile3
-rw-r--r--www/py-utidylib/files/patch-tidy-lib.py11
2 files changed, 13 insertions, 1 deletions
diff --git a/www/py-utidylib/Makefile b/www/py-utidylib/Makefile
index 182249f473e3..ce4287e08c8b 100644
--- a/www/py-utidylib/Makefile
+++ b/www/py-utidylib/Makefile
@@ -2,6 +2,7 @@
PORTNAME= utidylib
PORTVERSION= 0.7
+PORTREVISION= 1
CATEGORIES= www python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -13,7 +14,7 @@ COMMENT= Python interface to tidy-lib
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-LIB_DEPENDS= libtidy.so.5:www/tidy-html5
+LIB_DEPENDS= libtidy5.so:www/tidy-html5
USES= python:3.6+
USE_PYTHON= autoplist concurrent distutils
diff --git a/www/py-utidylib/files/patch-tidy-lib.py b/www/py-utidylib/files/patch-tidy-lib.py
new file mode 100644
index 000000000000..2c728e31fa0b
--- /dev/null
+++ b/www/py-utidylib/files/patch-tidy-lib.py
@@ -0,0 +1,11 @@
+--- tidy/lib.py.orig 2021-05-02 11:39:44 UTC
++++ tidy/lib.py
+@@ -7,6 +7,8 @@ import weakref
+ from tidy.error import InvalidOptionError, OptionArgError
+
+ LIBNAMES = (
++ # FreeBSD
++ "libtidy5.so",
+ # Linux
+ "libtidy.so",
+ # MacOS