Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2024 10:59:16 GMT
From:      Rene Ladan <rene@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f51cc2ff3b66 - main - devel/libopkele: fix build with www/tidy-html5
Message-ID:  <202403251059.42PAxG1S075138@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403251059.42PAxG1S075138>