diff options
Diffstat (limited to 'net-wireless/bluez-gnome/files/0.15-optional-features.patch')
-rw-r--r-- | net-wireless/bluez-gnome/files/0.15-optional-features.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/net-wireless/bluez-gnome/files/0.15-optional-features.patch b/net-wireless/bluez-gnome/files/0.15-optional-features.patch new file mode 100644 index 000000000000..441da18053d7 --- /dev/null +++ b/net-wireless/bluez-gnome/files/0.15-optional-features.patch @@ -0,0 +1,35 @@ +Index: configure.in +=================================================================== +RCS file: /cvsroot/bluez/gnome/configure.in,v +retrieving revision 1.57 +diff -u -r1.57 configure.in +--- configure.in 26 Dec 2007 12:02:30 -0000 1.57 ++++ configure.in 26 Dec 2007 14:33:36 -0000 +@@ -45,9 +45,11 @@ + DBUS_BINDING_TOOL="dbus-binding-tool" + AC_SUBST(DBUS_BINDING_TOOL) + ++AC_ARG_ENABLE(hal, AC_HELP_STRING([--enable-hal], [enable HAL support])) ++ + PKG_CHECK_MODULES(HAL, hal >= 0.5.8, [ +- AC_DEFINE(HAVE_HAL, 1, [Define to 1 if you have HAL support.]) +-], dummy=no) ++ test "${enable_hal}" = "yes" && AC_DEFINE(HAVE_HAL, 1, [Define to 1 if you have HAL support.]) ++], test "${enable_hal}" = "yes" && AC_MSG_ERROR(hal support needs hal >= 0.5.8 installed)) + AC_SUBST(HAL_CFLAGS) + AC_SUBST(HAL_LIBS) + +@@ -62,9 +64,11 @@ + AC_SUBST(GCONF_CFLAGS) + AC_SUBST(GCONF_LIBS) + ++AC_ARG_ENABLE(libnotify, AC_HELP_STRING([--enable-libnotify], [enable libnotify support])) ++ + PKG_CHECK_MODULES(NOTIFY, libnotify >= 0.3.2, [ +- AC_DEFINE(HAVE_LIBNOTIFY, 1, [Define to 1 if you have libnotify support.]) +-], dummy=no) ++ test "${enable_libnotify}" = "yes" && AC_DEFINE(HAVE_LIBNOTIFY, 1, [Define to 1 if you have libnotify support.]) ++], test "${enable_libnotify}" = "yes" && AC_MSG_ERROR(libnotify support needs libnotify >= 0.3.2 installed)) + AC_SUBST(NOTIFY_CFLAGS) + AC_SUBST(NOTIFY_LIBS) + |