libraries/qt3: Fix 32-bit build.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2022-03-18 15:37:15 -04:00 committed by Willy Sudiarto Raharjo
parent 7a9a796aa1
commit 84540742bd
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -29,6 +29,7 @@
# This is based on the original SlackBuild from /extra/kde-compat in
# Slackware 13.1
# 20220318 bkw: fix 32-bit build.
# 20211120 bkw: BUILD=2, install the profile scripts non-executable.
# 20200226 bkw: quit spamming /root, no change to package
# 20180209 bkw: fix download link, pkgs.fedoraproject.org is now toast.
@ -129,6 +130,9 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
export CCACHE_DIR=${CCACHE_DIR:-$HOME/.ccache}
export HOME=$( pwd )
# 20220318 bkw: for some reason, "-I /usr/include/tirpc" is needed
# on 32-bit, but not on 64-bit (but it does no harm there).
# And here's what we are currently using.
# The "yes" agrees to the GPL, so don't run this script if you don't agree. :-)
echo "yes" | \
@ -157,7 +161,8 @@ CXXFLAGS="$SLKCFLAGS" \
-plugin-style-platinum \
-plugin-style-sgi \
-plugin-style-windows \
-enable-opengl
-enable-opengl \
-I /usr/include/tirpc
# Set QTDIR...
QTDIR=$PKG/opt/kde3/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION