aboutsummaryrefslogtreecommitdiff
path: root/libraries/qt6gtk2/qt6gtk2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/qt6gtk2/qt6gtk2.SlackBuild')
-rw-r--r--libraries/qt6gtk2/qt6gtk2.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/qt6gtk2/qt6gtk2.SlackBuild b/libraries/qt6gtk2/qt6gtk2.SlackBuild
index dedc1d5735..670ab4be6a 100644
--- a/libraries/qt6gtk2/qt6gtk2.SlackBuild
+++ b/libraries/qt6gtk2/qt6gtk2.SlackBuild
@@ -76,11 +76,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# source manually
+. /etc/profile.d/qt6.sh
+
QMAKE_CFLAGS_RELEASE="$SLKCFLAGS" \
QMAKE_CXXFLAGS_RELEASE="$SLKCFLAGS" \
PREFIX=/usr \
LIBDIR=/usr/lib${LIBDIRSUFFIX} \
-qmake-qt6
+qmake6
make
make install INSTALL_ROOT=$PKG