aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-14 15:36:33 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-16 08:20:01 +0700
commitad798658cf6d472d4919b029f309334e5aa99c78 (patch)
treeac8abc8cd33c57a6fe0aa7107d27c46d4eb6f2e2 /multimedia
parentc479f458bd8954d27cd717d6dfcc192c42b07a61 (diff)
multimedia/mythtv: Fix qt5 version check.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/mythtv/mythtv.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/multimedia/mythtv/mythtv.SlackBuild b/multimedia/mythtv/mythtv.SlackBuild
index d84de31fe31a..7be04060dba3 100644
--- a/multimedia/mythtv/mythtv.SlackBuild
+++ b/multimedia/mythtv/mythtv.SlackBuild
@@ -80,9 +80,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
cd mythtv
# Pass libdir to zeromq.
@@ -90,6 +90,12 @@ sed -i \
-e"s|--without-documentation|--without-documentation --libdir=/usr/lib$LIBDIRSUFFIX|" \
configure
+# 20220214 bkw: broken test in configure: it's intended to make sure
+# qt5 version >= 5.1.x, but it doesn't take into account the possibility
+# that the minor version number might have 2 digits. at this late date,
+# we'll never have a qt5 5.x where x<10...
+sed -i '/Qt version 5/s,\\.*,",' configure
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \