mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
gis/gpsd: Don't build libQgpsmm.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
0019550f6a
commit
055f16880a
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue