diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2017-01-02 19:04:02 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-01-02 19:04:02 +0000 |
commit | e0d1db84c534ba45f381662e492b9bd388c03b9d (patch) | |
tree | 199f9e8fc39f30c90d98eb3392d81e188f6d22e4 /testing | |
parent | edd9edabd57636be9f31d756415b7774a8855217 (diff) | |
download | aports-e0d1db84c534ba45f381662e492b9bd388c03b9d.tar.bz2 aports-e0d1db84c534ba45f381662e492b9bd388c03b9d.tar.xz |
testing/opencv: fix build on arm
on arm we need the 3rdparty library carotene
Diffstat (limited to 'testing')
-rw-r--r-- | testing/opencv/APKBUILD | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/testing/opencv/APKBUILD b/testing/opencv/APKBUILD index 9d741f6cfd..5dadd6481a 100644 --- a/testing/opencv/APKBUILD +++ b/testing/opencv/APKBUILD @@ -19,7 +19,13 @@ builddir="$srcdir/opencv-$pkgver" prepare() { default_prepare || return 1 - rm -rf "$builddir"/3rdparty + # purge 3rd party except carotene + for i in "$builddir"/3rdparty/*; do + case $i in + */carotene*) continue;; + esac + rm -rf "$i" + done } build() { |