aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2014-04-14 16:28:12 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-04-14 16:28:12 +0700
commit055f16880a2a2a41663d9bd32592a9811efa6356 (patch)
tree7c9ae7c418a2817cd7f8497266eea107e0a9c16f
parent0019550f6a4fab2c9b5b6290b95aeb9803e1d666 (diff)
gis/gpsd: Don't build libQgpsmm.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--gis/gpsd/gpsd.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/gis/gpsd/gpsd.SlackBuild b/gis/gpsd/gpsd.SlackBuild
index d8bf25e8072b0..d22a6c568ced5 100644
--- a/gis/gpsd/gpsd.SlackBuild
+++ b/gis/gpsd/gpsd.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=gpsd
VERSION=${VERSION:-3.10}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -91,6 +91,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# g++ may throw an 'internal compiler error' in QT bindings (libQgpsmm).
+# *Nothing* actually uses libQgpsmm, but you can enable it by deleting
+# 'libQgpsmm=no' below (and you may want to keep the manpage!)
CFLAGS=$SLKCFLAGS \
scons \
prefix=/usr \
@@ -98,6 +101,7 @@ scons \
pkgconfigdir=/usr/lib${LIBDIRSUFFIX}/pkgconfig \
mandir=/usr/man \
chrpath=no \
+ libQgpsmm=no \
$ENABLELIST \
$DISABLELIST
@@ -108,6 +112,8 @@ scons \
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+# Remove libQgpsmm manpage ;-)
+rm $PKG/usr/man/man3/libQgpsmm.3.gz
install -D -m 0644 $CWD/xgps.desktop \
$PKG/usr/share/applications/xgps.desktop