gnome-vfs-dbus: do not use GSSAPI_LIBS if gssapi does not compile
authorFrederic Bompart <frederic@unknown.openembedded.org>
Tue, 20 Sep 2005 10:28:32 +0000 (10:28 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Tue, 20 Sep 2005 10:28:32 +0000 (10:28 +0000)
http://bugs.openembedded.org/show_bug.cgi?id=250

packages/gnome/gnome-vfs-dbus/gssapi.patch [new file with mode: 0644]
packages/gnome/gnome-vfs-dbus_2.8.4.4.bb

diff --git a/packages/gnome/gnome-vfs-dbus/gssapi.patch b/packages/gnome/gnome-vfs-dbus/gssapi.patch
new file mode 100644 (file)
index 0000000..a4fcd60
--- /dev/null
@@ -0,0 +1,18 @@
+
+#
+# Patch managed by http://www.holgerschurig.de/patcher.html
+#
+
+--- gnome-vfs-dbus-2.8.4.4/configure.in~gssapi
++++ gnome-vfs-dbus-2.8.4.4/configure.in
+@@ -456,6 +456,10 @@
+    ])
+    LIBS="$saved_LIBS" 
+    CPPFLAGS="$saved_CPPFLAGS" 
++   if test "x$have_gssapi" != "xyes"; then
++     GSSAPI_LIBS=
++     GSSAPI_CFLAGS=
++   fi
+ fi   
+ AC_SUBST(GSSAPI_LIBS)
+ AC_SUBST(GSSAPI_CFLAGS)
index 045a281..fbec93c 100644 (file)
@@ -11,6 +11,7 @@ RRECOMMENDS = "gnome-vfs-plugin-file shared-mime-info"
 
 
 SRC_URI = "http://ftp.imendio.com/pub/extra/${PN}/${PN}-${PV}.tar.gz \
+           file://gssapi.patch;patch=1;pnum=1 \
            file://gconftool-lossage.patch;patch=1;pnum=1"
 
 EXTRA_OECONF = "--with-ipc=dbus"