Build e2fsprogs at last

svn path=/nixpkgs/trunk/; revision=13719
This commit is contained in:
Michael Raskin 2009-01-06 23:22:29 +00:00
parent 7b6b14df31
commit ed11a2bbc8
2 changed files with 10 additions and 1 deletions

View File

@ -10,8 +10,12 @@ stdenv.mkDerivation {
configureFlags =
if stdenv ? isDietLibC
then ""
then "--with-diet-libc"
else "--enable-elf-shlibs";
preBuild = if stdenv ? isDietLibC then ''
sed -e 's/-lpthread//' -i Makefile */Makefile */*/Makefile
'' else "";
preInstall = "installFlagsArray=('LN=ln -s')";
@ -21,6 +25,7 @@ stdenv.mkDerivation {
if stdenv ? isDietLibC then
"-UHAVE_SYS_PRCTL_H " +
(if stdenv.system == "x86_64-linux" then "-DHAVE_LSEEK64_PROTOTYPE=1 -Dstat64=stat" else "")
+ " -lcompat -lpthread "
else "";
meta = {

View File

@ -6702,6 +6702,10 @@ let
inherit fetchurl stdenv e2fsprogs;
};
utillinuxngCurses = composedArgsAndFun (import ../os-specific/linux/util-linux-ng) {
inherit fetchurl stdenv e2fsprogs ncurses;
};
wesnoth = import ../games/wesnoth {
inherit fetchurl stdenv SDL SDL_image SDL_mixer SDL_net gettext zlib boost freetype;
};