Skip to content

Commit

Permalink
app-emulation/hercules: do not delete libtool module .la files #720342
Browse files Browse the repository at this point in the history
Since hercules uses libltdl to load its internal modules, we need to
leave the .la files in place for it to process.

Also add subslot linkage to these libs while we're updating.

Bug: https://bugs.gentoo.org/252716
Closes: https://bugs.gentoo.org/720342
Signed-off-by: Mike Frysinger <[email protected]>
  • Loading branch information
vapier committed Nov 18, 2021
1 parent e93a59e commit 0fa2a86
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7
EAPI="7"

inherit autotools flag-o-matic

Expand All @@ -15,10 +15,10 @@ KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x64-macos"
IUSE="bzip2 custom-cflags +suid"

RDEPEND="
dev-libs/libltdl
dev-libs/libltdl:=
net-libs/libnsl:0=
sys-libs/zlib
bzip2? ( app-arch/bzip2 )"
sys-libs/zlib:=
bzip2? ( app-arch/bzip2:= )"
DEPEND="${RDEPEND}"

PATCHES=(
Expand Down Expand Up @@ -61,6 +61,6 @@ src_install() {
insinto /usr/share/hercules
doins hercules.cnf

# no static archives
find "${D}" -name '*.la' -delete || die
# No static archives. Have to leave .la files for modules. #720342
rm "${ED}/usr/$(get_libdir)/"*.la || die
}

0 comments on commit 0fa2a86

Please sign in to comment.