summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-08-23 03:29:00 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-08-23 03:29:21 +0200
commitef0de18a7e211af5479a5c1799df3b8daee2821f (patch)
tree3596f83d709ad5fa76c6a6885b451b02735907d6 /dev-libs/libfilezilla
parentdev-libs/libfilezilla: bump to v0.24 (diff)
downloadgentoo-ef0de18a7e211af5479a5c1799df3b8daee2821f.tar.gz
gentoo-ef0de18a7e211af5479a5c1799df3b8daee2821f.tar.bz2
gentoo-ef0de18a7e211af5479a5c1799df3b8daee2821f.zip
dev-libs/libfilezilla: fix 32-bit build
Links against libatomic on 32-bit non-x86 arches. Closes: https://bugs.gentoo.org/727652 Package-Manager: Portage-3.0.3, Repoman-3.0.0 Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-libs/libfilezilla')
-rw-r--r--dev-libs/libfilezilla/libfilezilla-0.24.0.ebuild9
1 files changed, 9 insertions, 0 deletions
diff --git a/dev-libs/libfilezilla/libfilezilla-0.24.0.ebuild b/dev-libs/libfilezilla/libfilezilla-0.24.0.ebuild
index b727fb881b72..06fb1f38b744 100644
--- a/dev-libs/libfilezilla/libfilezilla-0.24.0.ebuild
+++ b/dev-libs/libfilezilla/libfilezilla-0.24.0.ebuild
@@ -33,6 +33,15 @@ pkg_pretend() {
fi
}
+src_configure() {
+ if use ppc || use arm || use hppa; then
+ # bug 727652
+ append-libs -latomic
+ fi
+
+ default
+}
+
src_install() {
default
find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die