www/py-utidylib: Fix build after 1d58266f9c

- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2021-07-22 05:13:23 +08:00
parent 9cc330c3d7
commit 5e87f51e20
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 13 additions and 1 deletions

View File

@ -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

View File

@ -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