From 26d700bd4a5fb80c99575cd26342581591bc1f1b Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 14 Jul 2013 09:40:00 +0200 Subject: [PATCH] libunwind: fix x86 build. --- srcpkgs/libunwind/template | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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}"