Reduce size of tradcpp derivation.

Generate configure using autoconf instead of including it in the patch.
This commit is contained in:
Mike Sperber 2015-02-04 11:30:13 +01:00
parent d75a91ef1e
commit 93343fbb33
2 changed files with 3 additions and 3689 deletions

View File

@ -1,4 +1,4 @@
{ stdenv, fetchurl }: { stdenv, fetchurl, autoconf }:
stdenv.mkDerivation { stdenv.mkDerivation {
name = "tradcpp-0.4"; name = "tradcpp-0.4";
@ -9,8 +9,9 @@ stdenv.mkDerivation {
}; };
# tradcpp only comes with BSD-make Makefile; the patch adds configure support # tradcpp only comes with BSD-make Makefile; the patch adds configure support
buildInputs = [ autoconf ];
preConfigure = "autoconf";
patches = [ ./tradcpp-configure.patch ]; patches = [ ./tradcpp-configure.patch ];
postPatch = "chmod +x configure";
meta = { meta = {
description = "A traditional (K&R-style) C macro preprocessor"; description = "A traditional (K&R-style) C macro preprocessor";

File diff suppressed because it is too large Load Diff