git: 8afcf305cba3 - main - textproc/libxslt: Unbreak the build after textproc/libxml2 changes.

Gleb Popov arrowd at FreeBSD.org
Mon Jun 21 21:37:36 UTC 2021


The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8afcf305cba32728f5733d35505b15672a64a2cc

commit 8afcf305cba32728f5733d35505b15672a64a2cc
Author:     Daniel Engberg <daniel.engberg.lists at pyret.net>
AuthorDate: 2021-06-16 20:53:14 +0000
Commit:     Gleb Popov <arrowd at FreeBSD.org>
CommitDate: 2021-06-21 21:19:10 +0000

    textproc/libxslt: Unbreak the build after textproc/libxml2 changes.
    
    Reported by:    arrowd
---
 textproc/libxslt/Makefile | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/textproc/libxslt/Makefile b/textproc/libxslt/Makefile
index 3f37ccbbf28b..e1f2325119e1 100644
--- a/textproc/libxslt/Makefile
+++ b/textproc/libxslt/Makefile
@@ -14,7 +14,7 @@ COMMENT=	XML stylesheet transformation library
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		cpe gmake gnome localbase libtool pathfix
+USES=		cpe gmake gnome localbase libtool pathfix pkgconfig
 CPE_VENDOR=	xmlsoft
 GNU_CONFIGURE=	yes
 USE_GNOME=	libxml2
@@ -32,15 +32,13 @@ OPTIONS_DEFAULT=CRYPTO
 CRYPTO_DESC=	Enable crypto support
 MEM_DEBUG_DESC=	Enable memory debugging
 
-CRYPTO_LIB_DEPENDS=	libgcrypt.so:security/libgcrypt
+CRYPTO_LIB_DEPENDS=	libgcrypt.so:security/libgcrypt \
+			libgpg-error.so:security/libgpg-error
 CRYPTO_CONFIGURE_WITH=	crypto
 MEM_DEBUG_CONFIGURE_ON=	--with-mem-debug
 
 post-patch:
 	@${REINPLACE_CMD} -e '/^install-data-am:/ s|install-data-local||' \
 		${WRKSRC}/doc/Makefile.in
-	@${REINPLACE_CMD} -e 's|[$$](bindir)/xsltproc|../xsltproc/xsltproc|g ; \
-		s|[$$](bindir)/xmllint|../xmllint/xmllint|g' \
-		${WRKSRC}/doc/Makefile.in
 
 .include <bsd.port.mk>


More information about the dev-commits-ports-main mailing list