giada: fix builds requiring libatomic
This commit is contained in:
parent
fc997ac498
commit
e81da8b2eb
1 changed files with 12 additions and 0 deletions
|
@ -14,6 +14,18 @@ homepage="https://www.giadamusic.com/"
|
|||
distfiles="https://github.com/monocasual/giada/archive/v${version}.tar.gz"
|
||||
checksum=18f5b87199b978d61e025bf479dc1b9a3e76fe7660084742284a05e94e893b3b
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc64*) ;;
|
||||
armv6*|ppc*) makedepends+=" libatomic-devel" ;;
|
||||
esac
|
||||
|
||||
post_extract() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
ppc64*) ;;
|
||||
armv6*|ppc*) vsed -e 's/\($(ldAdd)\)/\1 -latomic/g' -i Makefile.am ;;
|
||||
esac
|
||||
}
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue