From 27e2ae10a039f44dd2cd336c62235e539d4842a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Llu=C3=ADs=20Batlle=20i=20Rossell?= Date: Thu, 5 Aug 2010 22:04:10 +0000 Subject: [PATCH] Making gdbm get the proper config.guess for it to build in the Fuloong 2f. I could not find a newer gdbm with newer config.guess. svn path=/nixpkgs/branches/stdenv-updates/; revision=22979 --- pkgs/development/libraries/gdbm/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/gdbm/default.nix b/pkgs/development/libraries/gdbm/default.nix index d6f1d118f82..448fd04edd8 100644 --- a/pkgs/development/libraries/gdbm/default.nix +++ b/pkgs/development/libraries/gdbm/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl }: +{ stdenv, fetchurl, automake }: stdenv.mkDerivation rec { name = "gdbm-1.8.3"; @@ -9,6 +9,11 @@ stdenv.mkDerivation rec { patches = [ ./install.patch ]; + # The fuloong2f is not supported by gdbm 1.8.3 still + preConfigure = '' + cp ${automake}/share/automake*/config.{sub,guess} . + ''; + meta = { description = "GNU DBM key/value database library"; homepage = http://www.gnu.org/software/gdbm/;