diff --git a/srcpkgs/sonic-visualiser/template b/srcpkgs/sonic-visualiser/template index c1e38ed3070..3a3e7df18b1 100644 --- a/srcpkgs/sonic-visualiser/template +++ b/srcpkgs/sonic-visualiser/template @@ -18,7 +18,8 @@ distfiles="https://code.soundsoftware.ac.uk/attachments/download/2607/${pkgname} checksum=e6e9dbec686c9dc94d32dff311eb0f6b44b63d3643285b3d8d908dfb9b22c790 case "$XBPS_TARGET_MACHINE" in - armv6*) makedepends+=" libatomic-devel" ;; + ppc64*) ;; + armv6*|ppc*) makedepends+=" libatomic-devel" ;; esac if [ "$CROSS_BUILD" ]; then @@ -37,7 +38,8 @@ post_extract() { fi case "$XBPS_TARGET_MACHINE" in - armv6*) sed -i -e "s/^linux\*:LIBS +=.*/& -latomic/" config.pri.in ;; + ppc64*) ;; + armv6*|ppc*) sed -i -e "s/^linux\*:LIBS +=.*/& -latomic/" config.pri.in ;; esac }