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