diff --git a/srcpkgs/libunwind/template b/srcpkgs/libunwind/template index dbbd7e0949..e3de42f464 100644 --- a/srcpkgs/libunwind/template +++ b/srcpkgs/libunwind/template @@ -3,6 +3,7 @@ pkgname=libunwind version=1.1 revision=2 build_style=gnu-configure +hostmakedepends="libtool automake" makedepends="liblzma-devel" short_desc="Portable and efficient C programming interface (API) to determine the call-chain of a program" maintainer="Juan RP " @@ -11,12 +12,9 @@ license="GPL-2" distfiles="http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$version.tar.gz" checksum=9dfe0fcae2a866de9d3942c66995e4b460230446887dbdab302d41a8aee8d09a -if [ "$CROSS_BUILD" ]; then - hostmakedepends="libtool automake" - pre_configure() { - autoreconf -fi - } -fi +pre_configure() { + autoreconf -fi +} libunwind-devel_package() { depends="${sourcepkg}>=${version}"