giada: use generic libatomic checks
This commit is contained in:
parent
94764a903b
commit
8672b84111
1 changed files with 6 additions and 8 deletions
|
@ -14,16 +14,14 @@ homepage="https://www.giadamusic.com/"
|
|||
distfiles="https://github.com/monocasual/giada/archive/v${version}.tar.gz"
|
||||
checksum=39bd1dc20794d01a530bb832a7b7fc032ee0403a9d2b254b24c1b1d5eaa4cfa1
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc64*) ;;
|
||||
armv6*|ppc*) makedepends+=" libatomic-devel" ;;
|
||||
esac
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
makedepends+=" libatomic-devel"
|
||||
fi
|
||||
|
||||
post_extract() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc64*) ;;
|
||||
armv6*|ppc*) vsed -e 's/\($(ldAdd)\)/\1 -latomic/g' -i Makefile.am ;;
|
||||
esac
|
||||
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
|
||||
vsed -e 's/\($(ldAdd)\)/\1 -latomic/g' -i Makefile.am
|
||||
fi
|
||||
}
|
||||
|
||||
pre_configure() {
|
||||
|
|
Loading…
Reference in a new issue