cryus-sasl: cleanup, fix w/musl (although not at all musl-specific)
musl is fixed by disabling update of config.{guess,sub}.
This commit is contained in:
parent
eeeeacc9a6
commit
90268efa38
@ -36,15 +36,15 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-openssl=${openssl.dev}"
|
"--with-openssl=${openssl.dev}"
|
||||||
|
"--with-plugindir=${placeholder "out"}/lib/sasl2"
|
||||||
|
"--with-saslauthd=/run/saslauthd"
|
||||||
|
"--enable-login"
|
||||||
|
"--enable-shared"
|
||||||
] ++ lib.optional enableLdap "--with-ldap=${openldap.dev}";
|
] ++ lib.optional enableLdap "--with-ldap=${openldap.dev}";
|
||||||
|
|
||||||
# Set this variable at build-time to make sure $out can be evaluated.
|
# Avoid triggering regenerating using broken autoconf/libtool bits.
|
||||||
preConfigure = ''
|
# (many distributions carry patches to remove/replace, but this works for now)
|
||||||
configureFlagsArray=( --with-plugindir=$out/lib/sasl2
|
dontUpdateAutotoolsGnuConfigScripts = true;
|
||||||
--with-saslauthd=/run/saslauthd
|
|
||||||
--enable-login
|
|
||||||
)
|
|
||||||
'';
|
|
||||||
|
|
||||||
installFlags = lib.optional stdenv.isDarwin [ "framedir=$(out)/Library/Frameworks/SASL2.framework" ];
|
installFlags = lib.optional stdenv.isDarwin [ "framedir=$(out)/Library/Frameworks/SASL2.framework" ];
|
||||||
|
|
||||||
@ -55,7 +55,7 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://cyrusimap.web.cmu.edu/;
|
homepage = https://www.cyrusimap.org/sasl;
|
||||||
description = "Library for adding authentication support to connection-based protocols";
|
description = "Library for adding authentication support to connection-based protocols";
|
||||||
platforms = platforms.unix;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user