Author: viric
Date: Thu Aug  5 22:04:10 2010
New Revision: 22979
URL: https://svn.nixos.org/websvn/nix/?rev=22979&sc=1

Log:
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.

Modified:
   nixpkgs/branches/stdenv-updates/pkgs/development/libraries/gdbm/default.nix

Modified: 
nixpkgs/branches/stdenv-updates/pkgs/development/libraries/gdbm/default.nix
==============================================================================
--- nixpkgs/branches/stdenv-updates/pkgs/development/libraries/gdbm/default.nix 
Thu Aug  5 22:02:13 2010        (r22978)
+++ nixpkgs/branches/stdenv-updates/pkgs/development/libraries/gdbm/default.nix 
Thu Aug  5 22:04:10 2010        (r22979)
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl }:
+{ stdenv, fetchurl, automake }:
 
 stdenv.mkDerivation rec {
   name = "gdbm-1.8.3";
@@ -9,6 +9,11 @@
 
   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/;
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to