summaryrefslogtreecommitdiff
path: root/editors/openoffice.org-vcltesttool/files
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2008-04-03 21:30:51 +0000
committerMaho Nakata <maho@FreeBSD.org>2008-04-03 21:30:51 +0000
commita7d63a8e2b85afb9f49494304d0d6faaa6da0990 (patch)
treea92961f0893f5b5ee1a3b8d4aa976ab14135c03a /editors/openoffice.org-vcltesttool/files
parentUpdate to 0.7.1: removed scary language from the title screen. (diff)
Add WITHOUT_CUPS knob.
Submitted by: many
Notes
Notes: svn path=/head/; revision=210461
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"