disable gpsd support

suggestion and ok sthen@
This commit is contained in:
kirby 2019-07-31 15:38:27 +00:00
parent ffdc0098b1
commit b986065151
2 changed files with 4 additions and 19 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.32 2019/07/12 20:46:28 sthen Exp $
# $OpenBSD: Makefile,v 1.33 2019/07/31 15:38:27 kirby Exp $
COMMENT= modular geoinformation service on top of D-Bus
@ -13,7 +13,7 @@ HOMEPAGE= http://geoclue.freedesktop.org/
PERMIT_PACKAGE= Yes
WANTLIB = c dbus-1 dbus-glib-1 ffi gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gps iconv intl lzma m pcre pthread soup-2.4
WANTLIB += gobject-2.0 iconv intl lzma m pcre pthread soup-2.4
WANTLIB += soup-gnome-2.4 sqlite3 xml2 z
WANTLIB += idn2 psl unistring
@ -23,14 +23,14 @@ MODULES= devel/dconf
BUILD_DEPENDS = textproc/libxslt
LIB_DEPENDS = devel/libsoup \
misc/gpsd \
x11/dbus-glib
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ARGS= --disable-gtk \
--disable-connman
--disable-connman \
--disable-gpsd
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-configure,v 1.3 2012/09/21 13:19:01 jasper Exp $
Link against -pthread
--- configure.orig Tue Jul 31 18:59:39 2012
+++ configure Thu Sep 20 20:06:51 2012
@@ -13144,7 +13144,7 @@ fi
if test "x$have_skyhook" = "xyes"; then
PROVIDER_SUBDIRS="$PROVIDER_SUBDIRS skyhook"
- GPSD_LIBS="-lgps"
+ GPSD_LIBS="-lgps -pthread"
else
NO_BUILD_PROVIDERS="$NO_BUILD_PROVIDERS skyhook"
fi