summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-vcltesttool/files
diff options
context:
space:
mode:
Diffstat (limited to 'editors/openoffice.org-vcltesttool/files')
-rw-r--r--editors/openoffice.org-vcltesttool/files/Makefile.knobs12
1 files changed, 12 insertions, 0 deletions
diff --git a/editors/openoffice.org-vcltesttool/files/Makefile.knobs b/editors/openoffice.org-vcltesttool/files/Makefile.knobs
index d6e7257fec39..a0926318a1c6 100644
--- a/editors/openoffice.org-vcltesttool/files/Makefile.knobs
+++ b/editors/openoffice.org-vcltesttool/files/Makefile.knobs
@@ -10,6 +10,13 @@ CONFIGURE_ARGS+= --with-vba-package-format="builtin"
CONFIGURE_ARGS+= --enable-kde QTDIR="${QT_PREFIX}"
.endif
+.if defined(WITHOUT_CUPS)
+CONFIGURE_ARGS+= --enable-cups=no
+.else
+LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
+CONFIGURE_ARGS+= --enable-cups=yes
+.endif
+
.if defined(WITHOUT_MOZILLA)
CONFIGURE_ARGS+= --disable-mozilla
.else
@@ -91,6 +98,11 @@ pre-fetch:
@${ECHO} "See http://www.freetype.org/patents.html for details"
.endif
.endif
+.if !defined(WITHOUT_CUPS)
+ @${ECHO}
+ @${ECHO} "You can compile OOo without CUPS support with"
+ @${ECHO} "make -DWITHOUT_CUPS"
+.endif
.if !defined(WITH_KDE)
@${ECHO}
@${ECHO} "You can compile OOo to use Qt/KDE vclplug with"