net-nds/openldap: fix modules libtool files prune

the prune_libtool_files is run before the modules intall, that will
leave many la files in openldap module directory broken due to main
la file is gone, which will make revdep-rebuild or cave fix-linkage
keep rebuilding net-nds/openldap.

keep module la files removed by default will prevent user from using
.la file in modules config, which is working but should not been
encouraged, such as BUG:600484

Fixes: https://bugs.gentoo.org/537418
(cherry picked from commit 2c2376d9efd3d77424e3c8a626a165daf881e145)
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
This commit is contained in:
Zhao Yongming
2017-11-05 12:45:27 -08:00
committed by Robin H. Johnson
parent d4807e70b4
commit d5eaafc35a
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -680,7 +680,6 @@ multilib_src_test() {
multilib_src_install() {
local lt="${BUILD_DIR}/libtool"
emake DESTDIR="${D}" SHELL="${EPREFIX}"/bin/bash install
use static-libs || prune_libtool_files --all
if ! use minimal && multilib_is_native_abi; then
# openldap modules go here
@@ -793,6 +792,8 @@ multilib_src_install() {
dosbin "${S}"/contrib/slapd-tools/statslog
newdoc "${S}"/contrib/slapd-tools/README README.statslog
fi
use static-libs || prune_libtool_files --all
}
multilib_src_install_all() {
+2 -1
View File
@@ -658,7 +658,6 @@ multilib_src_test() {
multilib_src_install() {
local lt="${BUILD_DIR}/libtool"
emake DESTDIR="${D}" SHELL="${EPREFIX}"/bin/bash install
use static-libs || prune_libtool_files --all
if ! use minimal && multilib_is_native_abi; then
# openldap modules go here
@@ -770,6 +769,8 @@ multilib_src_install() {
dosbin "${S}"/contrib/slapd-tools/statslog
newdoc "${S}"/contrib/slapd-tools/README README.statslog
fi
use static-libs || prune_libtool_files --all
}
multilib_src_install_all() {
+2 -1
View File
@@ -712,7 +712,6 @@ multilib_src_test() {
multilib_src_install() {
local lt="${BUILD_DIR}/libtool"
emake DESTDIR="${D}" SHELL="${EPREFIX}"/bin/bash install
use static-libs || prune_libtool_files --all
if ! use minimal && multilib_is_native_abi; then
# openldap modules go here
@@ -825,6 +824,8 @@ multilib_src_install() {
dosbin "${S}"/contrib/slapd-tools/statslog
newdoc "${S}"/contrib/slapd-tools/README README.statslog
fi
use static-libs || prune_libtool_files --all
}
multilib_src_install_all() {