tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
apr-util: refactor options
Vladimír Čunát
10 years ago
aa456259
9b091e8a
+11
-10
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
apr-util
default.nix
+11
-10
pkgs/development/libraries/apr-util/default.nix
reviewed
···
20
20
sha256 = "0bn81pfscy9yjvbmyx442svf43s6dhrdfcsnkpxz43fai5qk5kx6";
21
21
};
22
22
23
23
-
patches = stdenv.lib.optionals stdenv.isFreeBSD [ ./include-static-dependencies.patch ];
23
23
+
patches = optional stdenv.isFreeBSD ./include-static-dependencies.patch;
24
24
25
25
-
buildInputs = stdenv.lib.optionals stdenv.isFreeBSD [ autoreconfHook ];
25
25
+
buildInputs = optional stdenv.isFreeBSD autoreconfHook;
26
26
27
27
-
configureFlags = ''
28
28
-
--with-apr=${apr} --with-expat=${expat}
29
29
-
${optionalString (!stdenv.isCygwin) "--with-crypto"}
30
30
-
${stdenv.lib.optionalString sslSupport "--with-openssl=${openssl}"}
31
31
-
${stdenv.lib.optionalString bdbSupport "--with-berkeley-db=${db}"}
32
32
-
${stdenv.lib.optionalString ldapSupport "--with-ldap=ldap"}${
33
33
-
optionalString stdenv.isCygwin "--without-pgsql --without-sqlite2 --without-sqlite3 --without-freetds --without-berkeley-db --without-crypto"}
34
34
-
'';
27
27
+
configureFlags = [ "--with-apr=${apr}" "--with-expat=${expat}" ]
28
28
+
++ optional (!stdenv.isCygwin) "--with-crypto"
29
29
+
++ optional sslSupport "--with-openssl=${openssl}"
30
30
+
++ optional bdbSupport "--with-berkeley-db=${db}"
31
31
+
++ optional ldapSupport "--with-ldap=ldap"
32
32
+
++ optionals stdenv.isCygwin
33
33
+
[ "--without-pgsql" "--without-sqlite2" "--without-sqlite3"
34
34
+
"--without-freetds" "--without-berkeley-db" "--without-crypto" ]
35
35
+
;
35
36
36
37
propagatedBuildInputs = [ makeWrapper apr expat libiconv ]
37
38
++ optional sslSupport openssl