From b81587e6546bc752e3a295b90bb79ad1b14a2375 Mon Sep 17 00:00:00 2001 From: Nathan Owens Date: Mon, 11 Nov 2019 15:56:22 -0600 Subject: [PATCH] libxslt: update to 1.1.34 --- srcpkgs/libxslt/template | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/srcpkgs/libxslt/template b/srcpkgs/libxslt/template index c5d39e24fc7..54ef76cf2b7 100644 --- a/srcpkgs/libxslt/template +++ b/srcpkgs/libxslt/template @@ -1,16 +1,19 @@ # Template file for 'libxslt' pkgname=libxslt -version=1.1.33 +version=1.1.34 revision=1 build_style=gnu-configure -configure_args="--disable-static" +configure_args="--disable-static --disable-dependency-tracking" +hostmakedepends="libtool" makedepends="python-devel libxml2-devel libxml2-python libgcrypt-devel" short_desc="XSLT parser library from the GNOME project" maintainer="Orphaned " license="MIT" homepage="http://xmlsoft.org/XSLT/" -distfiles="ftp://xmlsoft.org/${pkgname}/${pkgname}-${version}.tar.gz" -checksum=8e36605144409df979cab43d835002f63988f3dc94d5d3537c12796db90e38c8 +distfiles="http://xmlsoft.org/sources/libxslt-${version}.tar.gz + ftp://xmlsoft.org/${pkgname}/${pkgname}-${version}.tar.gz" +checksum="98b1bd46d6792925ad2dfe9a87452ea2adebf69dcb9919ffd55bf926a7f93f7f + 98b1bd46d6792925ad2dfe9a87452ea2adebf69dcb9919ffd55bf926a7f93f7f" if [ "$CROSS_BUILD" ]; then hostmakedepends="libtool automake gettext-devel ${makedepends}" @@ -21,6 +24,14 @@ if [ "$CROSS_BUILD" ]; then } fi +post_configure() { + # Remove missing seperators and errors + # on don't know how to make target, needed + # by Usage: + # Makefile is created after configure so fix here + find ${wrksrc} -type f -name Makefile | xargs sed -i '/Usage/,/--version/d' +} + post_install() { # Remove references to the install(1) wrapper. sed -e "s,${XBPS_WRAPPERDIR},/usr/bin,g" -i ${DESTDIR}/usr/bin/xslt-config