forked from mirrors/nixpkgs
Merge pull request #633 from lovek323/httpd
apacheHttpd: fix build on darwin
This commit is contained in:
commit
0e57725261
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue