diff options
Diffstat (limited to 'libraries/qt3/qt3.SlackBuild')
-rw-r--r-- | libraries/qt3/qt3.SlackBuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libraries/qt3/qt3.SlackBuild b/libraries/qt3/qt3.SlackBuild index 069601c12284..403f302353f3 100644 --- a/libraries/qt3/qt3.SlackBuild +++ b/libraries/qt3/qt3.SlackBuild @@ -1,5 +1,7 @@ #!/bin/sh +# Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com + # Copyright 2006, 2007, 2008 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # Copyright 2010-2012 Niels Horn, Rio de Janeiro, RJ, Brazil @@ -85,10 +87,10 @@ sed -i "/#define QT_BUILTIN_GIF_READER/s|0|1|" src/kernel/qgif.h # Fix location of mysql.h sed -i "s|mysql\.h|mysql/mysql\.h|" src/sql/drivers/mysql/qsql_mysql.h -# Build with libpng 1.4: +# Build with libpng 1.4+: patch -lp0 < $CWD/qt3-libpng14.diff -# Patch for gcc-4.7 (based on info from LFS) +# Patch for gcc-4.7+ (based on info from LFS) patch -p1 < $CWD/qt3_gcc47.patch # Make sure ownerships and permissions are sane: @@ -167,7 +169,7 @@ cat $CWD/profile.d/qt.csh | sed -e "s#/lib#/lib${LIBDIRSUFFIX}#" \ chmod 755 $PKG/etc/profile.d/* # Strip binaries: -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null # Make links to the qt3 binaries |