openldap: load configuration files from global sysconfdir /etc (#21648)
This commit is contained in:
parent
ee2edd4527
commit
db90ac6fff
@ -19,10 +19,13 @@ stdenv.mkDerivation rec {
|
|||||||
[ "--enable-overlays"
|
[ "--enable-overlays"
|
||||||
"--disable-dependency-tracking" # speeds up one-time build
|
"--disable-dependency-tracking" # speeds up one-time build
|
||||||
"--enable-modules"
|
"--enable-modules"
|
||||||
|
"--sysconfdir=/etc"
|
||||||
] ++ stdenv.lib.optional (openssl == null) "--without-tls"
|
] ++ stdenv.lib.optional (openssl == null) "--without-tls"
|
||||||
++ stdenv.lib.optional (cyrus_sasl == null) "--without-cyrus-sasl"
|
++ stdenv.lib.optional (cyrus_sasl == null) "--without-cyrus-sasl"
|
||||||
++ stdenv.lib.optional stdenv.isFreeBSD "--with-pic";
|
++ stdenv.lib.optional stdenv.isFreeBSD "--with-pic";
|
||||||
|
|
||||||
|
installFlags = [ "sysconfdir=$(out)/etc" ];
|
||||||
|
|
||||||
# 1. Fixup broken libtool
|
# 1. Fixup broken libtool
|
||||||
# 2. Libraries left in the build location confuse `patchelf --shrink-rpath`
|
# 2. Libraries left in the build location confuse `patchelf --shrink-rpath`
|
||||||
# Delete these to let patchelf discover the right path instead.
|
# Delete these to let patchelf discover the right path instead.
|
||||||
|
Loading…
Reference in New Issue
Block a user