mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-24 11:37:20 -08:00
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:
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user