forked from mirrors/nixpkgs
mod_fastcgi: Fix building against Apache 2.4
This commit is contained in:
parent
bad2955079
commit
690154993d
|
@ -1,13 +1,21 @@
|
|||
{ stdenv, fetchurl, apacheHttpd }:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "mod_fastcgi-2.4.6";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.fastcgi.com/dist/mod_fastcgi-2.4.6.tar.gz";
|
||||
url = "http://www.fastcgi.com/dist/${name}.tar.gz";
|
||||
sha256 = "12g6vcfl9jl8rqf8lzrkdxg2ngca310d3d6an563xqcgrkp8ga55";
|
||||
};
|
||||
|
||||
patches =
|
||||
[ (fetchurl {
|
||||
name = "compile-against-apache24.diff";
|
||||
url = "https://projects.archlinux.org/svntogit/packages.git/plain/trunk/compile-against-apache24.diff?h=packages/mod_fastcgi&id=81c7cb99d15682df3bdb1edcaeea5259e9e43a42";
|
||||
sha256 = "000qvrf5jb979i37rimrdivcgjijcffgrpkx38c0rn62z9jz61g4";
|
||||
})
|
||||
];
|
||||
|
||||
buildInputs = [ apacheHttpd ];
|
||||
|
||||
preBuild = ''
|
||||
|
|
Loading…
Reference in a new issue