From 50e2d537dce23181d089c3e7219320a5f92ee0c8 Mon Sep 17 00:00:00 2001
From: Juan RP <xtraeme@gmail.com>
Date: Sun, 7 Apr 2013 01:47:54 +0200
Subject: [PATCH] atf: fix cross build.

---
 srcpkgs/atf/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/atf/template b/srcpkgs/atf/template
index 7b8d65d1a5..6d5da34243 100644
--- a/srcpkgs/atf/template
+++ b/srcpkgs/atf/template
@@ -14,12 +14,12 @@ distfiles="https://kyua.googlecode.com/files/atf-$version.tar.gz"
 checksum=4458bc6d1ebbbaffd86cd71a426760ff4083eca87f388d9498cd1972ecf258cc
 
 if [ -n "$XBPS_CROSS_TRIPLET" ]; then
+	hostmakedepends="libtool automake"
 	configure_args="kyua_cv_attribute_noreturn=yes
 			kyua_cv_getcwd_works=yes
 			kyua_cv_getopt_optreset=no
 			kyua_cv_getopt_plus=yes
 			kyua_cv_signal_lastno=31"
-	makedepends="automake"
 	pre_configure() {
 		autoreconf -fi
 	}