diff --git a/geo/geoclue/Makefile b/geo/geoclue/Makefile index 40cb611e1d7..e399874f0f7 100644 --- a/geo/geoclue/Makefile +++ b/geo/geoclue/Makefile @@ -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 diff --git a/geo/geoclue/patches/patch-configure b/geo/geoclue/patches/patch-configure new file mode 100644 index 00000000000..51a52ab2e86 --- /dev/null +++ b/geo/geoclue/patches/patch-configure @@ -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