From 48dc2ec11dd7c19912d504e1a7afbc362e595f09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Mon, 30 Mar 2020 14:25:15 +0200 Subject: [PATCH] thrift: use $XBPS_TARGET_NO_ATOMIC8 --- srcpkgs/thrift/template | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/srcpkgs/thrift/template b/srcpkgs/thrift/template index e090df04b4e..068125b377f 100644 --- a/srcpkgs/thrift/template +++ b/srcpkgs/thrift/template @@ -11,10 +11,9 @@ homepage="https://thrift.apache.org/" distfiles="http://www-us.apache.org/dist/thrift/${version}/thrift-${version}.tar.gz" checksum=7ad348b88033af46ce49148097afe354d513c1fca7c607b59c33ebb6064b5179 -case "$XBPS_TARGET_MACHINE" in - ppc64*) ;; - ppc*) makedepends+=" libatomic-devel";; -esac +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends+=" libatomic-devel" +fi if [ "$CROSS_BUILD" ]; then configure_args="--disable-tests --disable-tutorial"