Fix build of apr on darwin
svn path=/nixpkgs/trunk/; revision=34374
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
{ stdenv, fetchurl }:
|
||||
|
||||
let
|
||||
inherit (stdenv.lib) optionals;
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "apr-1.4.6";
|
||||
|
||||
@@ -8,6 +12,8 @@ stdenv.mkDerivation rec {
|
||||
md5 = "ffee70a111fd07372982b0550bbb14b7";
|
||||
};
|
||||
|
||||
patches = optionals stdenv.isDarwin [ ./darwin_fix_configure.patch ];
|
||||
|
||||
configureFlags =
|
||||
# Don't use accept4 because it's only supported on Linux >= 2.6.28.
|
||||
[ "apr_cv_accept4=no" ]
|
||||
|
||||
Reference in New Issue
Block a user