Manually fix ecl-config. Not that we really care what it says, but it should not give unsuable flag set

svn path=/nixpkgs/trunk/; revision=20203
This commit is contained in:
Michael Raskin 2010-02-23 21:32:16 +00:00
parent ecc14afbda
commit 24614bdffe
1 changed files with 8 additions and 2 deletions

View File

@ -2,6 +2,8 @@ a :
let let
s = import ./src-for-default.nix; s = import ./src-for-default.nix;
buildInputs = with a; [ buildInputs = with a; [
];
propagatedBuildInputs = with a; [
gmp mpfr gmp mpfr
]; ];
in in
@ -9,14 +11,18 @@ rec {
src = a.fetchUrlFromSrcInfo s; src = a.fetchUrlFromSrcInfo s;
inherit (s) name; inherit (s) name;
inherit buildInputs; inherit buildInputs propagatedBuildInputs;
configureFlags = [ configureFlags = [
"--enable-threads" "--enable-threads"
"--enable-unicode" "--enable-unicode"
]; ];
/* doConfigure should be removed if not needed */ /* doConfigure should be removed if not needed */
phaseNames = ["doConfigure" "doMakeInstall"]; phaseNames = ["doConfigure" "doMakeInstall" "fixEclConfig"];
fixEclConfig = a.fullDepEntry ''
sed -e 's/@[-a-zA-Z_]*@//g' -i $out/bin/ecl-config
'' ["minInit"];
meta = { meta = {
description = "A Lisp implementation aiming to be small and fast"; description = "A Lisp implementation aiming to be small and fast";