aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2024-03-25 10:45:57 +0000
committerRene Ladan <rene@FreeBSD.org>2024-03-25 10:45:57 +0000
commitf51cc2ff3b6653eee37b7a3b7b7451d0a526c21d (patch)
treee58cf8c85e784af565f290b27552a49f08f369e4
parent5795c6a6232cab80f9e20faf192dca129750842d (diff)
downloadports-f51cc2ff3b6653eee37b7a3b7b7451d0a526c21d.tar.gz
ports-f51cc2ff3b6653eee37b7a3b7b7451d0a526c21d.zip
devel/libopkele: fix build with www/tidy-html5
Keep the port deprecated but change the deprecation message, last release was in 2009. Bump PORTREVISION
-rw-r--r--devel/libopkele/Makefile10
1 files 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>