3
0
Fork 0
forked from mirrors/nixpkgs

Fixing the apache build (comment on the fix in the source)

svn path=/nixpkgs/branches/stdenv-updates/; revision=24032
This commit is contained in:
Lluís Batlle i Rossell 2010-10-03 09:18:03 +00:00
parent 530ac48a7c
commit 6923539d84

View file

@ -19,6 +19,11 @@ stdenv.mkDerivation rec {
buildInputs = [perl apr aprutil pcre] ++
stdenv.lib.optional sslSupport openssl;
# An apr-util header file includes an apr header file
# through #include "" (quotes)
# passing simply CFLAGS did not help, then I go by NIX_CFLAGS_COMPILE
NIX_CFLAGS_COMPILE = "-iquote ${apr}/include/apr-1";
configureFlags = ''
--with-z=${zlib}
--with-pcre=${pcre}