summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2016-12-10 22:47:15 +0100
committerDavid Seifert <soap@gentoo.org>2016-12-10 22:47:15 +0100
commit596bf1589b40e4bb0c35811a2a6ead82e7157cc8 (patch)
tree9b43190bce8baf9cfe894532f29e2a317bbb3c51 /media-libs/opencv
parentmedia-libs/jasper: Update live ebuild (diff)
downloadgentoo-596bf1589b40e4bb0c35811a2a6ead82e7157cc8.tar.gz
gentoo-596bf1589b40e4bb0c35811a2a6ead82e7157cc8.tar.bz2
gentoo-596bf1589b40e4bb0c35811a2a6ead82e7157cc8.zip
media-libs/opencv: [QA] Minor fixes
Package-Manager: portage-2.3.3
Diffstat (limited to 'media-libs/opencv')
-rw-r--r--media-libs/opencv/opencv-3.1.0-r7.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/media-libs/opencv/opencv-3.1.0-r7.ebuild b/media-libs/opencv/opencv-3.1.0-r7.ebuild
index 26371e1a6ed5..879e7e25170e 100644
--- a/media-libs/opencv/opencv-3.1.0-r7.ebuild
+++ b/media-libs/opencv/opencv-3.1.0-r7.ebuild
@@ -115,11 +115,12 @@ pkg_pretend() {
}
pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
java-pkg-opt-2_pkg_setup
}
src_prepare() {
- default
+ cmake-utils_src_prepare
# remove bundled stuff
rm -rf 3rdparty || die "Removing 3rd party components failed"