textproc/libxslt: Unbreak the build after textproc/libxml2 changes.

Reported by:	arrowd
This commit is contained in:
Daniel Engberg 2021-06-16 23:53:14 +03:00 committed by Gleb Popov
parent 4c0c936fe9
commit 8afcf305cb

View File

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