From a73a731d86fea3e79a7c0548c2805b4515247b1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Mon, 30 Mar 2020 14:23:22 +0200 Subject: [PATCH] paraview: use $XBPS_TARGET_NO_ATOMIC8 --- srcpkgs/paraview/template | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/srcpkgs/paraview/template b/srcpkgs/paraview/template index e476e84d54..0d84e89aa1 100644 --- a/srcpkgs/paraview/template +++ b/srcpkgs/paraview/template @@ -59,10 +59,9 @@ patch_args="-Np1" CFLAGS="-D_GNU_SOURCE" CXXFLAGS="-D_GNU_SOURCE" -case "$XBPS_TARGET_MACHINE" in - ppc64*) ;; - ppc*) makedepends+=" libatomic-devel" ;; -esac +if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then + makedepends+=" libatomic-devel" +fi post_extract() { case "$XBPS_TARGET_MACHINE" in