Making fbtermStdenv both crossbuild and natively build. It failed to build without overriden patches.

svn path=/nixpkgs/trunk/; revision=31405
This commit is contained in:
Lluís Batlle i Rossell 2012-01-07 16:11:20 +00:00
parent a3f507892a
commit d126fe5806

View File

@ -20,7 +20,7 @@ stdenv.mkDerivation {
buildNativeInputs = [ ncurses ];
buildInputs = [ gpm freetype fontconfig pkgconfig ];
postPatch = ''
preConfigure = ''
sed -e '/ifdef SYS_signalfd/atypedef long long loff_t;' -i src/fbterm.cpp
sed -e '/install-exec-hook:/,/^[^\t]/{d}; /.NOEXPORT/iinstall-exec-hook:\