From 44544a36ecbfa29693147f17230552aba1463a09 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 15 Dec 2024 09:05:56 +0700 Subject: [PATCH 1/2] libraries/qt6gtk2: Source qt6 profile. Signed-off-by: Willy Sudiarto Raharjo --- libraries/qt6gtk2/qt6gtk2.SlackBuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libraries/qt6gtk2/qt6gtk2.SlackBuild b/libraries/qt6gtk2/qt6gtk2.SlackBuild index 230fafae6a0..670ab4be6a9 100644 --- a/libraries/qt6gtk2/qt6gtk2.SlackBuild +++ b/libraries/qt6gtk2/qt6gtk2.SlackBuild @@ -76,6 +76,9 @@ 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 \ From b7036245bda9a3ec40bc4c7f8f88e7564598df96 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 15 Dec 2024 09:10:42 +0700 Subject: [PATCH 2/2] development/pgmodeler: Source qt6 profile. Signed-off-by: Willy Sudiarto Raharjo --- development/pgmodeler/pgmodeler.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/development/pgmodeler/pgmodeler.SlackBuild b/development/pgmodeler/pgmodeler.SlackBuild index 53bd30dc7cb..44a8a19fb48 100644 --- a/development/pgmodeler/pgmodeler.SlackBuild +++ b/development/pgmodeler/pgmodeler.SlackBuild @@ -38,9 +38,6 @@ if [ -z "$ARCH" ]; then esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -79,6 +76,9 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# source manually +. /etc/profile.d/qt6.sh + qmake6 \ QMAKE_CFLAGS+="$SLKCFLAGS" \ QMAKE_CXXFLAGS+="$SLKCFLAGS" \