diff --git a/srcpkgs/libtranscript/template b/srcpkgs/libtranscript/template index 729fc5b4822..b5fcbb30850 100644 --- a/srcpkgs/libtranscript/template +++ b/srcpkgs/libtranscript/template @@ -4,22 +4,17 @@ version=0.3.4 revision=1 build_style=configure configure_args="--prefix=/usr" -hostmakedepends="pkg-config gettext libtool" -makedepends="gettext-devel" +hostmakedepends="pkg-config gettext" +makedepends="libtool gettext-devel" short_desc="Character-set conversion library" maintainer="Andrew Benson " license="GPL-3.0-or-later" homepage="https://os.ghalkes.nl/libtranscript.html" distfiles="https://os.ghalkes.nl/dist/libtranscript-${version}.tar.bz2" checksum=daaa09038f6f3b785b86d152014b3893910f9b9e4e430c015e41b05b34c37ea7 +nocross="non-standard configure script" - -pre_configure() { - # HACK: work around libtool not being configured by autotools stuff. - sed -e '/^CC=.*/d;/^LD=.*/d;s/^\(LTCC=\).*/\1$CC/;/^LTCFLAGS=.*/d' /usr/bin/libtool >libtool - chmod +x libtool - export LIBTOOL="${wrksrc}/libtool" -} +export LIBTOOL=${XBPS_CROSS_BASE}/usr/bin/libtool libtranscript-devel_package() { short_desc+=" - development files"