* darwin patch to make sure gnupatch doesn't get dSYM extension

svn path=/nixpkgs/trunk/; revision=16447
This commit is contained in:
Rob Vermaas 2009-07-23 22:07:45 +00:00
parent aaca21fcff
commit c100551503

View File

@ -1,6 +1,6 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
stdenv.mkDerivation ( {
name = "gnupatch-2.5.4";
src = fetchurl {
url = mirror://gnu/patch/patch-2.5.4.tar.gz;
@ -10,6 +10,6 @@ stdenv.mkDerivation {
# Hack around ancient configure script: doesn't build on many newer
# platforms unless a platform is specified.
configureFlags = "dummy";
patches = if stdenv.isDarwin then [./setmode.patch] else [];
}
} // (if stdenv.isDarwin then { ac_cv_exeext = "" ; } else {} ) )