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"