diff --git a/x11/dbus-glib/Makefile b/x11/dbus-glib/Makefile index ad616d110b2..5b61fecd154 100644 --- a/x11/dbus-glib/Makefile +++ b/x11/dbus-glib/Makefile @@ -1,8 +1,9 @@ -# $OpenBSD: Makefile,v 1.12 2009/02/08 15:51:45 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.13 2009/03/23 10:05:36 ajacoutot Exp $ COMMENT= glib bindings for dbus message system DISTNAME= dbus-glib-0.80 +PKGNAME= ${DISTNAME}p0 SHARED_LIBS+= dbus-glib-1 4.1 CATEGORIES= x11 @@ -25,13 +26,15 @@ LIB_DEPENDS= dbus-1.>=7::x11/dbus \ SEPARATE_BUILD= simple USE_GMAKE= Yes USE_LIBTOOL= Yes + CONFIGURE_STYLE=gnu -CONFIGURE_ARGS+=--enable-bash-completion +CONFIGURE_ARGS= ${CONFIGURE_SHARED} \ + --enable-bash-completion \ + --enable-gtk-doc=no \ + --with-test-socket-dir=${WRKDIR} CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" -FAKE_FLAGS+= completiondir="${PREFIX}/share/dbus-glib" -pre-build: - @cp ${FILESDIR}/dbus-bus-introspect.xml ${WRKBUILD}/tools +FAKE_FLAGS+= completiondir="${PREFIX}/share/examples/dbus-glib" .include diff --git a/x11/dbus-glib/files/dbus-bus-introspect.xml b/x11/dbus-glib/files/dbus-bus-introspect.xml deleted file mode 100644 index 4549f9a67d0..00000000000 --- a/x11/dbus-glib/files/dbus-bus-introspect.xml +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/x11/dbus-glib/patches/patch-configure b/x11/dbus-glib/patches/patch-configure new file mode 100644 index 00000000000..3d106a11fe8 --- /dev/null +++ b/x11/dbus-glib/patches/patch-configure @@ -0,0 +1,11 @@ +$OpenBSD: patch-configure,v 1.1 2009/03/23 10:05:36 ajacoutot Exp $ +--- configure.orig Mon Mar 23 10:57:27 2009 ++++ configure Mon Mar 23 10:57:42 2009 +@@ -29496,7 +29496,6 @@ echo " + Building Gtk-doc docs: ${enable_gtk_doc} + Bash Completion: ${enable_bash_completion} + Gettext libs (empty OK): ${INTLLIBS} +- Using XML parser: ${with_xml} + 'make check' socket dir: ${TEST_SOCKET_DIR} + " + diff --git a/x11/dbus-glib/pkg/PLIST b/x11/dbus-glib/pkg/PLIST index f41980aacc7..f5ba319ccd4 100644 --- a/x11/dbus-glib/pkg/PLIST +++ b/x11/dbus-glib/pkg/PLIST @@ -1,4 +1,4 @@ -@comment $OpenBSD: PLIST,v 1.6 2009/02/08 15:51:45 ajacoutot Exp $ +@comment $OpenBSD: PLIST,v 1.7 2009/03/23 10:05:36 ajacoutot Exp $ %%SHARED%% @bin bin/dbus-binding-tool include/dbus-1.0/ @@ -13,9 +13,9 @@ lib/libdbus-glib-1.la lib/pkgconfig/ lib/pkgconfig/dbus-glib-1.pc @bin libexec/dbus-bash-completion-helper -share/dbus-glib/ +share/examples/dbus-glib/ @sample ${SYSCONFDIR}/bash_completion.d/ -share/dbus-glib/dbus-bash-completion.sh +share/examples/dbus-glib/dbus-bash-completion.sh @sample ${SYSCONFDIR}/bash_completion.d/dbus-bash-completion.sh share/gtk-doc/ share/gtk-doc/html/