- fix build

This commit is contained in:
jasper 2009-03-04 20:10:30 +00:00
parent fb8bd3a8d4
commit eb8fa7b09e
2 changed files with 23 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/02/15 16:35:05 jasper Exp $
# $OpenBSD: Makefile,v 1.2 2009/03/04 20:10:30 jasper Exp $
COMMENT= modular geoinformation service on top of D-Bus
DISTNAME= geoclue-0.11.1
PKGNAME= ${DISTNAME}p0
SHARED_LIBS += geoclue 0.0 # .0.0
CATEGORIES= geo devel

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-configure,v 1.1 2009/03/04 20:10:30 jasper Exp $
--- configure.orig Mon Mar 2 18:26:14 2009
+++ configure Mon Mar 2 18:26:17 2009
@@ -21263,7 +21263,7 @@ if test "${ac_cv_lib_gps_gps_open+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lgps $LIBS"
+LIBS="-lgps -pthread $LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -21324,7 +21324,7 @@ fi
if test "x$libgps" = xyes; then
PROVIDER_SUBDIRS="$PROVIDER_SUBDIRS gpsd"
- GPSD_LIBS="-lgps"
+ GPSD_LIBS="-lgps -pthread"
else
NO_BUILD_PROVIDERS="$NO_BUILD_PROVIDERS gpsd"
fi