mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
development/sqlitebrowser: Fixed to build against gcc-4.7.x
Signed-off-by: Binh Nguyen <binhnguyen@fastmail.fm> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
abec61fc51
commit
f6f03a4275
1 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
# Slackware build script for sqlitebrowser
|
# Slackware build script for sqlitebrowser
|
||||||
|
|
||||||
# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm>
|
# Copyright 2010, 2012 Binh Nguyen <binhnguyen@fastmail.fm>
|
||||||
# All rights reserved.
|
# All rights reserved.
|
||||||
#
|
#
|
||||||
# Redistribution and use of this script, with or without modification, is
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
|
|
||||||
PRGNAM=sqlitebrowser
|
PRGNAM=sqlitebrowser
|
||||||
VERSION=${VERSION:-2.0b1}
|
VERSION=${VERSION:-2.0b1}
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-3}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -59,7 +59,7 @@ find . \
|
||||||
patch -p0 < $CWD/sqlitebrowser-2.0_beta1-qt-4.7.0.patch
|
patch -p0 < $CWD/sqlitebrowser-2.0_beta1-qt-4.7.0.patch
|
||||||
|
|
||||||
qmake
|
qmake
|
||||||
make
|
make LINK="g++ -ldl"
|
||||||
mkdir -p $PKG/usr/bin
|
mkdir -p $PKG/usr/bin
|
||||||
cp $PRGNAM/$PRGNAM $PKG/usr/bin/
|
cp $PRGNAM/$PRGNAM $PKG/usr/bin/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue