summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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