aboutsummaryrefslogtreecommitdiff
path: root/libraries/opencv
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2018-12-16 07:08:32 +1000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-22 08:44:32 +0700
commitac9d2dfd3417df2e66b319fadb5b8e23734245b4 (patch)
treeb7ea9a800e3e5b211581fcceb7831fa5153fb8d0 /libraries/opencv
parent38493406d986bcac60682e7226ce608c3515b948 (diff)
libraries/opencv: Fix condition to apply patch
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'libraries/opencv')
-rw-r--r--libraries/opencv/opencv.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/opencv/opencv.SlackBuild b/libraries/opencv/opencv.SlackBuild
index e8ac7d4113dae..f2efceb6a0e98 100644
--- a/libraries/opencv/opencv.SlackBuild
+++ b/libraries/opencv/opencv.SlackBuild
@@ -27,7 +27,7 @@
PRGNAM=opencv
PRGNAM2=opencv_contrib
VERSION=${VERSION:-4.0.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PY2VERSION=${PY2VERSION:-2.7}
@@ -84,7 +84,7 @@ echo "Unpacking $CWD/$PRGNAM2-$VERSION.tar.gz ..."
tar xf $CWD/$PRGNAM2-$VERSION.tar.gz
# Only needed if qt5 has been configured
-if [ -d /usr/etc/qt5 ]; then
+if [ -d /usr/include/qt5 ]; then
patch -p0 < $CWD/patch_filter_scharr.diff
fi