agg: fix cross build.

This commit is contained in:
Juan RP 2013-05-06 20:59:47 +02:00
parent 5d3b350040
commit 5ff7a69036

View File

@ -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