* Fix splashutils 1.5.

svn path=/nixpkgs/trunk/; revision=12087
This commit is contained in:
Eelco Dolstra 2008-06-14 15:09:22 +00:00
parent 599648bf3b
commit 40e7a57407

View File

@ -10,12 +10,10 @@ stdenv.mkDerivation {
buildInputs = [klibc zlib libjpeg];
dontAddPrefix = 1;
configureFlags = "--without-ttf --without-png --without-gpm --with-themedir=/etc/splash";
preConfigure = ''
configureFlags="$configureFlags --with-essential-prefix=$out --with-libdir=/"
configureFlags="$configureFlags --with-essential-prefix=$out"
substituteInPlace src/common.h \
--replace 'FBSPLASH_DIR"/sys"' '"/sys"' \
--replace 'FBSPLASH_DIR"/proc"' '"/proc"'