diff --git a/srcpkgs/aalib/template b/srcpkgs/aalib/template index a61f88c2108..09a463d334d 100644 --- a/srcpkgs/aalib/template +++ b/srcpkgs/aalib/template @@ -11,3 +11,11 @@ license="LGPL" distfiles="http://prdownloads.sourceforge.net/aa-project/${pkgname}-${version}.tar.gz" checksum=0b214b98850f559e0a9ef7282de2ff336b094e1aacedefff3ffa50f07711db58 wrksrc=aalib-1.4.0 + +if [ -n "$XBPS_CROSS_BUILD" ]; then + makedepends="automake" + pre_configure() { + sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.in + autoreconf -fi + } +fi