www-client/firefox: remove pre-built binaries
authorThomas Deutschmann <whissi@gentoo.org>
Sat, 18 Apr 2020 18:47:37 +0000 (20:47 +0200)
committerThomas Deutschmann <whissi@gentoo.org>
Sat, 18 Apr 2020 18:47:58 +0000 (20:47 +0200)
Suggested-by: Jory Pratt <anarchy@gentoo.org>
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
www-client/firefox/firefox-75.0.ebuild

index 0468755a92cae594cd32ad81f3fe58c53a33214d..7da7f21dad0b56f8fa77da5a4799c314453c8aa1 100644 (file)
@@ -325,6 +325,9 @@ src_prepare() {
        # Allow user to apply any additional patches without modifing ebuild
        eapply_user
 
+       einfo "Removing pre-built binaries ..."
+       find "${S}"/third_party -type f \( -name '*.so' -o -name '*.o' \) -print -delete || die
+
        # Enable gnomebreakpad
        if use debug ; then
                sed -i -e "s:GNOME_DISABLE_CRASH_DIALOG=1:GNOME_DISABLE_CRASH_DIALOG=0:g" \