3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #633 from lovek323/httpd

apacheHttpd: fix build on darwin
This commit is contained in:
Evgeny Egorochkin 2013-06-17 22:38:29 -07:00
commit 0e57725261

View file

@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
NIX_CFLAGS_COMPILE = "-iquote ${apr}/include/apr-1";
# Required for pthread_cancel.
NIX_LDFLAGS = "-lgcc_s";
NIX_LDFLAGS = (if stdenv.isDarwin then "" else "-lgcc_s");
configureFlags = ''
--with-z=${zlib}
@ -56,9 +56,8 @@ stdenv.mkDerivation rec {
meta = {
description = "Apache HTTPD, the world's most popular web server";
homepage = http://httpd.apache.org/;
license = "ASL2.0";
license = stdenv.lib.licenses.asl20;
platforms = stdenv.lib.platforms.unix;
maintainers = [ stdenv.lib.maintainers.simons ];
maintainers = with stdenv.lib.maintainers; [ simons lovek323 ];
};
}