commit:     ff6da85f27b47769d1a8c68f3a865fe10ba5c617
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 10 15:52:40 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Oct 10 17:40:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff6da85f

mail-client/thunderbird: set rpath again

Required for musl user and will make revdep-rebuild.sh happy.

Fixes

  $ thunderbird
  XPCOMGlueLoad error for file /usr/lib/thunderbird/libprldap60.so:
  Error loading shared library libldap60.so: No such file or directory (needed 
by /usr/lib/thunderbird/libprldap60.so)
  Couldn't load XPCOM.

Bug: https://bugs.gentoo.org/746812
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 mail-client/thunderbird/thunderbird-78.3.2.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/mail-client/thunderbird/thunderbird-78.3.2.ebuild 
b/mail-client/thunderbird/thunderbird-78.3.2.ebuild
index 065fab852fa..89ae20bf62c 100644
--- a/mail-client/thunderbird/thunderbird-78.3.2.ebuild
+++ b/mail-client/thunderbird/thunderbird-78.3.2.ebuild
@@ -733,6 +733,9 @@ src_configure() {
        # when they would normally be larger than 2GiB.
        append-ldflags "-Wl,--compress-debug-sections=zlib"
 
+       # Make revdep-rebuild.sh happy; Also required for musl
+       append-ldflags -Wl,-rpath="${MOZILLA_FIVE_HOME}",--enable-new-dtags
+
        # Pass $MAKEOPTS to build system
        export MOZ_MAKE_FLAGS="${MAKEOPTS}"
 

Reply via email to