opencv4: use generic libatomic checks

This commit is contained in:
q66 2020-02-08 17:21:44 +01:00
parent adc41676ff
commit 9202e1bd86

View file

@ -24,9 +24,9 @@ distfiles="https://github.com/opencv/opencv/archive/${version}.tar.gz
checksum="9ccb2192d7e8c03c58fee07051364d94ed7599363f3b0dce1c5e6cc11c1bb0ec
8a6b5661611d89baa59a26eb7ccf4abb3e55d73f99bb52d8f7c32265c8a43020"
case "$XBPS_TARGET_MACHINE" in
armv[56]*|mips*) makedepends+=" libatomic-devel";;
esac
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"
fi
post_install() {
vlicense LICENSE