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
This commit is contained in:
Lluís Batlle i Rossell 2010-08-05 22:04:10 +00:00
parent 229883730e
commit 27e2ae10a0

View File

@ -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/;