parent
a255cc8b75
commit
a19ca8c8a1
|
@ -20,11 +20,13 @@ distfiles="https://github.com/qTox/qTox/archive/v${version}.tar.gz"
|
|||
checksum=b842e2e7cbfa356da32dd7afc7628d55ce35d046ed72a468b211ab9ef863c382
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv6*) makedepends+=" libatomic-devel"
|
||||
ppc64*) ;;
|
||||
armv6*|ppc*) makedepends+=" libatomic-devel" ;;
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
armv6*) sed -i 's/${ALL_LIBRARIES})/atomic \0/' CMakeLists.txt
|
||||
ppc64*) ;;
|
||||
armv6*|ppc*) sed -i 's/${ALL_LIBRARIES})/atomic \0/' CMakeLists.txt ;;
|
||||
esac
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue