* RPM barfs if you don't build its static libraries - probably a

Makefile bug.

svn path=/nixpkgs/branches/stdenv-updates/; revision=15262
This commit is contained in:
Eelco Dolstra 2009-04-23 09:55:52 +00:00
parent c274d068e4
commit 564d96042a

View file

@ -16,19 +16,14 @@ stdenv.mkDerivation {
NIX_CFLAGS_LINK = "-L${elfutils}/lib";
preConfigure = "
preConfigure = ''
rm -rf zlib file sqlite
# Grrr, rpcgen can't find cpp. (NIXPKGS-48)
mkdir rpcgen
echo \"#! $shell\" > rpcgen/rpcgen
echo \"exec $(type -tp rpcgen) -Y $(dirname $(type -tp cpp)) \\\"\\$@\\\"\" >> rpcgen/rpcgen
chmod +x rpcgen/rpcgen
export PATH=$(pwd)/rpcgen:$PATH
substituteInPlace ./installplatform --replace /usr/bin/env $(type -tp env)
substituteInPlace Makefile.in --replace /var/tmp $(pwd)/dummy
";
'';
dontDisableStatic = true;
configureFlags = "--without-selinux --without-lua --without-python --without-perl";