mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-06 08:26:50 +01:00
libraries/opencv: Fix condition to apply patch
Signed-off-by: Christoph Willing <chris.willing@linux.com>
This commit is contained in:
parent
38493406d9
commit
ac9d2dfd34
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue