Merge branch 'less-tradcpp' of git://github.com/active-group/nixpkgs

Shorten tradcpp patch by re-running autoconf
This commit is contained in:
Shea Levy 2015-02-04 15:56:49 +00:00
commit 92962f049b
2 changed files with 3 additions and 3689 deletions

View File

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

File diff suppressed because it is too large Load Diff