--- tree/editors/openoffice-4/Makefile 2014-01-16 00:15:36.519563192 +0100 +++ tree/editors/openoffice-4/Makefile 2014-01-17 13:05:51.505718650 +0100 @@ -33,11 +33,15 @@ WITHOUT_CPU_CFLAGS= true MAKE_JOBS_SAFE= yes -OPTIONS_DEFINE= GCONF GNOMEVFS CCACHE +OPTIONS_DEFINE= GCONF GNOMEVFS CCACHE DBUS OPTIONS_DEFAULT=GCONF GNOMEVFS GNOMEVFS_DESC= Enable GNOME Virtual File System CCACHE_DESC= Mimimize compile time of C/C++ programs +DBUS_LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus \ + libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib +DBUS_ENABLE= dbus + NO_STAGE= yes .include "${.CURDIR}/files/Makefile.localized" @@ -61,6 +65,14 @@ CONFIGURE_ARGS+=--disable-gnome-vfs .endif + +.if ${PORT_OPTIONS:MDBUS} +CONFIGURE_ARGS+=--enable-dbus \ +.else +# +.endif + + ONLY_FOR_ARCHS= i386 amd64 .if ${ARCH} == amd64 @@ -196,7 +208,6 @@ --with-package-format="archive" \ --enable-gstreamer \ --enable-wiki-publisher \ - --enable-dbus \ --enable-opengl \ --enable-category-b \ --enable-lockdown \ @@ -207,8 +218,8 @@ --with-beanshell-jar=${JAVALIBDIR}/bsh.jar \ --without-fonts \ --with-system-serf -# --with-system-jpeg -# --enable-pdfimport +# --with-system-jpeg \ +# --enable-pdfimport \ # --without-stlport --disable-mozilla \ # --with-system-graphite \