git: f51cc2ff3b66 - main - devel/libopkele: fix build with www/tidy-html5
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Mar 2024 10:59:16 UTC
The branch main has been updated by rene: URL: https://cgit.FreeBSD.org/ports/commit/?id=f51cc2ff3b6653eee37b7a3b7b7451d0a526c21d commit f51cc2ff3b6653eee37b7a3b7b7451d0a526c21d Author: Rene Ladan <rene@FreeBSD.org> AuthorDate: 2024-03-25 10:45:57 +0000 Commit: Rene Ladan <rene@FreeBSD.org> CommitDate: 2024-03-25 10:45:57 +0000 devel/libopkele: fix build with www/tidy-html5 Keep the port deprecated but change the deprecation message, last release was in 2009. Bump PORTREVISION --- devel/libopkele/Makefile | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/devel/libopkele/Makefile b/devel/libopkele/Makefile index 3fb602977cf9..773e03867e47 100644 --- a/devel/libopkele/Makefile +++ b/devel/libopkele/Makefile @@ -1,6 +1,6 @@ PORTNAME= libopkele PORTVERSION= 2.0.4 -PORTREVISION= 20 +PORTREVISION= 21 CATEGORIES= devel MASTER_SITES= http://kin.klever.net/dist/ @@ -11,7 +11,7 @@ MAINTAINER= zhoushuqun@gmail.com COMMENT= C++ implementation of an OpenID decentralized identity system WWW= https://kin.klever.net/libopkele/ -DEPRECATED= Depends on deprecated www/tidy-lib +DEPRECATED= Last upstream release was in 2009 EXPIRATION_DATE=2024-04-24 LICENSE= MIT @@ -22,7 +22,7 @@ RUN_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs LIB_DEPENDS= libcurl.so:ftp/curl \ libpcre.so:devel/pcre \ libexpat.so:textproc/expat2 \ - libtidy.so:www/tidy-lib \ + libtidy5.so:www/tidy-html5 \ libxslt.so:textproc/libxslt USES= gmake libtool localbase:ldflags pathfix \ @@ -37,5 +37,9 @@ CONFIGURE_ENV= OPENSSL_CFLAGS="-I${OPENSSLINC}" \ post-patch: @${REINPLACE_CMD} -e "/^Requires:/s,openssl ,," \ ${WRKSRC}/libopkele.pc.in + @${REINPLACE_CMD} -e "s/-ltidy/-ltidy5/g" \ + ${WRKSRC}/configure + @${REINPLACE_CMD} -e "s/buffio.h/tidybuffio.h/g" \ + ${WRKSRC}/include/opkele/tidy.h .include <bsd.port.mk>