diff options
Diffstat (limited to 'editors/openoffice-2.0-devel/files/Makefile.knobs')
-rw-r--r-- | editors/openoffice-2.0-devel/files/Makefile.knobs | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/editors/openoffice-2.0-devel/files/Makefile.knobs b/editors/openoffice-2.0-devel/files/Makefile.knobs index df7cc8c5e058..aa4b7dcf9104 100644 --- a/editors/openoffice-2.0-devel/files/Makefile.knobs +++ b/editors/openoffice-2.0-devel/files/Makefile.knobs @@ -8,14 +8,19 @@ CONFIGURE_ARGS+= --without-java CONFIGURE_ARGS+= --with-jdk-home="${JAVA_HOME}" --with-ant-home=${LOCALBASE}/ant .endif -.if defined(WITH_GTK) -CONFIGURE_ARGS+= --enable-gtk -.endif - .if defined(WITH_KDE) +BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake +USE_QT_VER= 3 CONFIGURE_ARGS+= --enable-kde .endif +.if defined(WITH_CUPS) +LIB_DEPENDS=+ cups.2:${PORTSDIR}/print +CONFIGURE_ARGS+= --enable-cups=yes +.else +CONFIGURE_ARGS+= --enable-cups=no +.endif + .if defined(WITHOUT_MOZILLA) CONFIGURE_ARGS+= --disable-mozilla .else @@ -89,11 +94,6 @@ pre-fetch: @${ECHO} "You can compile OOo with CUPS support by" @${ECHO} "make -DWITH_CUPS" .endif -.if !defined(WITH_GTK) - @${ECHO} - @${ECHO} "You can compile OOo to use Gtk+ vclplug" - @${ECHO} "make -DWITH_GTK" -.endif .if !defined(WITH_KDE) @${ECHO} @${ECHO} "You can compile OOo to use Qt/KDE vclplug" |