apacheHttpd_2_4: fix build on darwin
This commit is contained in:
parent
3fe02f7c8b
commit
ccb7715de8
@ -27,7 +27,7 @@ stdenv.mkDerivation rec {
|
|||||||
optional libxml2Support libxml2;
|
optional libxml2Support libxml2;
|
||||||
|
|
||||||
# Required for ‘pthread_cancel’.
|
# Required for ‘pthread_cancel’.
|
||||||
NIX_LDFLAGS = "-lgcc_s";
|
NIX_LDFLAGS = stdenv.lib.optionalString (!stdenv.isDarwin) "-lgcc_s";
|
||||||
|
|
||||||
configureFlags = ''
|
configureFlags = ''
|
||||||
--with-apr=${apr}
|
--with-apr=${apr}
|
||||||
@ -58,11 +58,11 @@ stdenv.mkDerivation rec {
|
|||||||
inherit apr aprutil sslSupport proxySupport ldapSupport;
|
inherit apr aprutil sslSupport proxySupport ldapSupport;
|
||||||
};
|
};
|
||||||
|
|
||||||
meta = {
|
meta = with stdenv.lib; {
|
||||||
description = "Apache HTTPD, the world's most popular web server";
|
description = "Apache HTTPD, the world's most popular web server";
|
||||||
homepage = "http://httpd.apache.org/";
|
homepage = http://httpd.apache.org/;
|
||||||
license = stdenv.lib.licenses.asl20;
|
license = licenses.asl20;
|
||||||
platforms = stdenv.lib.platforms.unix;
|
platforms = stdenv.lib.platforms.unix;
|
||||||
maintainers = [ stdenv.lib.maintainers.simons ];
|
maintainers = with maintainers; [ lovek323 simons ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user