openbsd-ports/x11/gnome/tracker/patches/patch-configure_ac
2013-04-24 07:07:58 +00:00

23 lines
778 B
Plaintext

$OpenBSD: patch-configure_ac,v 1.2 2013/04/24 07:07:58 ajacoutot Exp $
From 67ccf1dbda724991d1bf1e30be38b388798f3e6a Mon Sep 17 00:00:00 2001
From: Antoine Jacoutot <ajacoutot@gnome.org>
Date: Thu, 18 Apr 2013 12:21:49 +0000
Subject: tracker-dbus: add support for OpenBSD
--- configure.ac.orig Wed Apr 10 14:51:37 2013
+++ configure.ac Wed Apr 10 14:51:18 2013
@@ -231,6 +231,12 @@ LIBTRACKER_COMMON_REQUIRED="glib-2.0 >= $GLIB_REQU
PKG_CHECK_MODULES(LIBTRACKER_COMMON, [$LIBTRACKER_COMMON_REQUIRED])
+case $host in
+ *-*-openbsd*)
+ LIBTRACKER_COMMON_LIBS="$LIBTRACKER_COMMON_LIBS -lkvm"
+ ;;
+esac
+
# Check requirements for libtracker-data
LIBTRACKER_DATA_REQUIRED="glib-2.0 >= $GLIB_REQUIRED
gio-unix-2.0 >= $GLIB_REQUIRED