From 5ff7a690369b81766fb71bd5b3c24f08001eb575 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 6 May 2013 20:59:47 +0200 Subject: [PATCH] agg: fix cross build. --- srcpkgs/agg/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/agg/template b/srcpkgs/agg/template index 3ed11b930a..f983cb50a7 100644 --- a/srcpkgs/agg/template +++ b/srcpkgs/agg/template @@ -12,6 +12,10 @@ license="GPL-2" distfiles="http://www.antigrain.com/agg-${version}.tar.gz" checksum=ab1edc54cc32ba51a62ff120d501eecd55fceeedf869b9354e7e13812289911f +if [ "$CROSS_BUILD" ]; then + hostmakedepends+=" SDL-devel" +fi + pre_configure() { sed -e '/AM_C_PROTOTYPES/d' -i configure.in touch NEWS README AUTHORS