opencv: use generic libatomic checks

This commit is contained in:
q66 2020-02-08 17:21:34 +01:00
parent c84cc621d2
commit adc41676ff

View file

@ -18,9 +18,9 @@ homepage="https://opencv.org"
distfiles="https://github.com/opencv/${pkgname}/archive/${version}.tar.gz"
checksum=f0901648a1db3dc3af30e65082665921dbe998673137380450bdd91e8251b567
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