Merge pull request #44423 from obsidiansystems/configureFlags-cleanup

treewide: All configureFlags are lists
This commit is contained in:
John Ericson
2018-08-03 17:49:01 -04:00
committed by GitHub
222 changed files with 743 additions and 600 deletions
+26 -20
View File
@@ -47,26 +47,32 @@ stdenv.mkDerivation rec {
configureFlags="$configureFlags --includedir=$dev/include"
'';
configureFlags = ''
--with-apr=${apr.dev}
--with-apr-util=${aprutil.dev}
--with-z=${zlib.dev}
--with-pcre=${pcre.dev}
--disable-maintainer-mode
--disable-debugger-mode
--enable-mods-shared=all
--enable-mpms-shared=all
--enable-cern-meta
--enable-imagemap
--enable-cgi
${optionalString brotliSupport "--enable-brotli --with-brotli=${brotli}"}
${optionalString proxySupport "--enable-proxy"}
${optionalString sslSupport "--enable-ssl"}
${optionalString http2Support "--enable-http2 --with-nghttp2"}
${optionalString luaSupport "--enable-lua --with-lua=${lua5}"}
${optionalString libxml2Support "--with-libxml2=${libxml2.dev}/include/libxml2"}
--docdir=$(doc)/share/doc
'';
configureFlags = [
"--with-apr=${apr.dev}"
"--with-apr-util=${aprutil.dev}"
"--with-z=${zlib.dev}"
"--with-pcre=${pcre.dev}"
"--disable-maintainer-mode"
"--disable-debugger-mode"
"--enable-mods-shared=all"
"--enable-mpms-shared=all"
"--enable-cern-meta"
"--enable-imagemap"
"--enable-cgi"
(stdenv.lib.enableFeature proxySupport "proxy")
(stdenv.lib.enableFeature sslSupport "ssl")
(stdenv.lib.withFeatureAs libxml2Support "libxml2" "${libxml2.dev}/include/libxml2")
"--docdir=$(doc)/share/doc"
(stdenv.lib.enableFeature brotliSupport "brotli")
(stdenv.lib.withFeatureAs brotliSupport "brotli" brotli)
(stdenv.lib.enableFeature http2Support "http2")
(stdenv.lib.withFeature http2Support "nghttp2")
(stdenv.lib.enableFeature luaSupport "lua")
(stdenv.lib.withFeatureAs luaSupport "lua" lua5)
];
enableParallelBuilding = true;
@@ -8,7 +8,10 @@ stdenv.mkDerivation rec {
sha256 = "11khipjpy3y84j1pp7yyx76y64jccvyhh3klwzqxylff49vjc2fc";
};
configureFlags = "--with-apxs=${apacheHttpd.dev}/bin/apxs --with-java-home=${jdk}";
configureFlags = [
"--with-apxs=${apacheHttpd.dev}/bin/apxs"
"--with-java-home=${jdk}"
];
setSourceRoot = ''
sourceRoot=$(echo */native)
+3 -3
View File
@@ -25,9 +25,9 @@ stdenv.mkDerivation rec {
If you wish to ignore this error pass --enable-js-trunk to ./configure.
*/
configureFlags = ''
--enable-js-trunk
'';
configureFlags = [
"--enable-js-trunk"
];
meta = with stdenv.lib; {
description = "A database that uses JSON for documents, JavaScript for MapReduce queries, and regular HTTP for an API";
+1 -1
View File
@@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
buildInputs = [ libevent file qrencode miniupnpc ];
# SSL requires libevent at 2.1 with ssl support
configureFlags = "--disable-ssl";
configureFlags = [ "--disable-ssl" ];
meta = {
description = "Pretty small HTTP server - a command-line tool to share files";
+1 -1
View File
@@ -16,7 +16,7 @@ stdenv.mkDerivation rec {
cd $name
'';
configureFlags = "--with-extrainclude=${pam}/include/security";
configureFlags = [ "--with-extrainclude=${pam}/include/security" ];
buildInputs = [ erlang pam perl ];