aboutsummaryrefslogtreecommitdiff
path: root/gis/gpsd/gpsd.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'gis/gpsd/gpsd.SlackBuild')
-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