summaryrefslogtreecommitdiffstats
path: root/libraries/opencv/opencv.SlackBuild
diff options
context:
space:
mode:
author Christoph Willing2018-12-15 22:08:32 +0100
committer Willy Sudiarto Raharjo2018-12-22 02:44:32 +0100
commitac9d2dfd3417df2e66b319fadb5b8e23734245b4 (patch)
treeb7ea9a800e3e5b211581fcceb7831fa5153fb8d0 /libraries/opencv/opencv.SlackBuild
parent38493406d986bcac60682e7226ce608c3515b948 (diff)
downloadslackbuilds-ac9d2dfd3417df2e66b319fadb5b8e23734245b4.tar.gz
libraries/opencv: Fix condition to apply patch
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'libraries/opencv/opencv.SlackBuild')
-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 e8ac7d4113..f2efceb6a0 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