From 055f16880a2a2a41663d9bd32592a9811efa6356 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Mon, 14 Apr 2014 16:28:12 +0700 Subject: gis/gpsd: Don't build libQgpsmm. Signed-off-by: Willy Sudiarto Raharjo --- gis/gpsd/gpsd.SlackBuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/gis/gpsd/gpsd.SlackBuild b/gis/gpsd/gpsd.SlackBuild index d8bf25e807..d22a6c568c 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 -- cgit v1.2.3