* Fix building on Darwin.
svn path=/nixpkgs/branches/stdenv-updates/; revision=14061
This commit is contained in:
parent
700c8abc43
commit
013d8e5e3a
@ -1,6 +1,7 @@
|
|||||||
{stdenv, fetchurl, pcre}:
|
{stdenv, fetchurl, pcre}:
|
||||||
|
|
||||||
let version = "2.5.4"; in
|
let version = "2.5.4"; in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "gnugrep-${version}";
|
name = "gnugrep-${version}";
|
||||||
|
|
||||||
@ -13,6 +14,12 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
# On Mac OS X, force use of mkdir -p, since Grep's fallback
|
||||||
|
# (./install-sh) is broken.
|
||||||
|
preConfigure = ''
|
||||||
|
export MKDIR_P="mkdir -p"
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.gnu.org/software/grep/;
|
homepage = http://www.gnu.org/software/grep/;
|
||||||
description = "GNU implementation of the Unix grep command";
|
description = "GNU implementation of the Unix grep command";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user