openldap: Use a global localstatedir
This commit is contained in:
parent
e0ef28c12d
commit
c3b41a77e6
@ -28,12 +28,13 @@ stdenv.mkDerivation rec {
|
||||
"--disable-dependency-tracking" # speeds up one-time build
|
||||
"--enable-modules"
|
||||
"--sysconfdir=/etc"
|
||||
"--localstatedir=/var"
|
||||
"--enable-crypt"
|
||||
] ++ stdenv.lib.optional (openssl == null) "--without-tls"
|
||||
++ stdenv.lib.optional (cyrus_sasl == null) "--without-cyrus-sasl"
|
||||
++ stdenv.lib.optional stdenv.isFreeBSD "--with-pic";
|
||||
|
||||
installFlags = [ "sysconfdir=$(out)/etc" ];
|
||||
installFlags = [ "sysconfdir=$(out)/etc" "localstatedir=$(out)/var" ];
|
||||
|
||||
# 1. Fixup broken libtool
|
||||
# 2. Libraries left in the build location confuse `patchelf --shrink-rpath`
|
||||
|
Loading…
Reference in New Issue
Block a user