libraries/libqtpas: Add SLKCFLAGS.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Vijay Marcel 2022-09-24 04:16:27 +01:00 committed by Willy Sudiarto Raharjo
parent 86686e45bb
commit 02c23cb6cf
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
2 changed files with 16 additions and 2 deletions

View File

@ -0,0 +1,11 @@
Changelog for the libqtpas SlackBuild script.
--------------------------------------------------
12/09/2022:
libqtpas added in Slackbuilds.org
21/09/2022:
Added SLKCFLAGS to QMAKE. Thanks to David Miller
for pointing it out. Bumped the build no.

View File

@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=libqtpas
VERSION=${VERSION:-2.6}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -83,7 +83,10 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
qmake-qt5 "QT += x11extras"
qmake-qt5 "QT += x11extras" \
QMAKE_CXXFLAGS+="$SLKCFLAGS" \
QMAKE_CFLAGS+="$SLKCFLAGS" \
Qt5Pas.pro
make
make INSTALL_ROOT=$PKG install