diff options
-rw-r--r-- | libraries/qt3/qt3.SlackBuild | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/libraries/qt3/qt3.SlackBuild b/libraries/qt3/qt3.SlackBuild index ef6f5f62f6..be55a88b8d 100644 --- a/libraries/qt3/qt3.SlackBuild +++ b/libraries/qt3/qt3.SlackBuild @@ -33,7 +33,7 @@ PRGNAM=qt3 VERSION=${VERSION:-3.3.8b} -BUILD=${BUILD:-4} +BUILD=${BUILD:-5} TAG=${TAG:-_SBo} SRCNAM=qt-x11-free @@ -131,17 +131,20 @@ CXXFLAGS="$SLKCFLAGS" \ -plugin-style-windows \ -enable-opengl +# Set QTDIR... +QTDIR=$PKG/opt/kde3/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION + +# Point LD_LIBRARY_PATH to the new libs +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$QTDIR/lib:$TMP/$SRCNAM-$VERSION/lib + # Strip jobs number from the MAKEFLAGS (needed) MAKEFLAGS=$(echo "$MAKEFLAGS" | sed "s/-j[0-999]//g") # We're using '-i' to work around a bug where the build tries to strip html files. # Build the important stuff: make -i -j1 -# Now set QTDIR... -QTDIR=$PKG/opt/kde3/lib${LIBDIRSUFFIX}/$PRGNAM-$VERSION - -# ... & point LD_LIBRARY_PATH to the new libs and "make + install" the rest... -LD_LIBRARY_PATH=$QTDIR/lib make install INSTALL_ROOT=$PKG +# "make + install" the rest... +make install INSTALL_ROOT=$PKG make -i symlinks sub-src sub-tools make install INSTALL_ROOT=$PKG |