diff options
Diffstat (limited to 'graphics/qtpfsgui/qtpfsgui.SlackBuild')
-rw-r--r-- | graphics/qtpfsgui/qtpfsgui.SlackBuild | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/qtpfsgui/qtpfsgui.SlackBuild b/graphics/qtpfsgui/qtpfsgui.SlackBuild index 03f310cd9b..c8aa086a97 100644 --- a/graphics/qtpfsgui/qtpfsgui.SlackBuild +++ b/graphics/qtpfsgui/qtpfsgui.SlackBuild @@ -5,7 +5,7 @@ # This script is dedicated to the public domain PRGNAM=qtpfsgui -VERSION=1.9.0 +VERSION=1.9.2 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -19,6 +19,8 @@ if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" fi set -e @@ -32,7 +34,10 @@ cd $PRGNAM-$VERSION chown -R root:root . chmod -R u+w,go+r-w,a-s . -lrelease project.pro # see lrelease(1) +# From Gentoo - fixes bug 222135 (crash after saving file) +cat $CWD/qtpfsgui-1.9.2-trunk.patch | patch -p2 + +lrelease project.pro qmake-qt4 \ INSTALL_ROOT=$PKG \ PREFIX=/usr \ @@ -52,6 +57,7 @@ find $PKG/usr/doc -type f -exec chmod 0644 {} \; mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc +cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz |