agg: fix for new automake

This commit is contained in:
Vladimír Čunát 2013-02-23 18:27:12 +01:00
parent 5e1bfa8053
commit 691147f452

View File

@ -8,7 +8,12 @@ stdenv.mkDerivation rec {
sha256 = "07wii4i824vy9qsvjsgqxppgqmfdxq0xa87i5yk53fijriadq7mb";
};
buildInputs = [ autoconf automake libtool pkgconfig freetype SDL libX11 ];
preConfigure = "sh autogen.sh";
# fix build with new automake, from Gentoo ebuild
preConfigure = ''
sed -i '/^AM_C_PROTOTYPES/d' configure.in
sh autogen.sh
'';
configureFlags = "--x-includes=${libX11}/include --x-libraries=${libX11}/lib";