aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice.org-3-RC
diff options
context:
space:
mode:
authormaho <maho@FreeBSD.org>2008-04-04 05:30:51 +0800
committermaho <maho@FreeBSD.org>2008-04-04 05:30:51 +0800
commit0d2fdb584c6eeb1647a921d03b7aeecb78805e65 (patch)
treeecbb8de6cc2179c7e9059e7d32b6b70305b2efe8 /editors/openoffice.org-3-RC
parent8efdebcbec9f705debc901d985c2424f7fe71af8 (diff)
downloadfreebsd-ports-gnome-0d2fdb584c6eeb1647a921d03b7aeecb78805e65.tar.gz
freebsd-ports-gnome-0d2fdb584c6eeb1647a921d03b7aeecb78805e65.tar.zst
freebsd-ports-gnome-0d2fdb584c6eeb1647a921d03b7aeecb78805e65.zip
Add WITHOUT_CUPS knob.
Submitted by: many
Diffstat (limited to 'editors/openoffice.org-3-RC')
-rw-r--r--editors/openoffice.org-3-RC/Makefile2
-rw-r--r--editors/openoffice.org-3-RC/files/Makefile.knobs12
2 files changed, 12 insertions, 2 deletions
diff --git a/editors/openoffice.org-3-RC/Makefile b/editors/openoffice.org-3-RC/Makefile
index 4b5bd11d4d30..c61303901bc0 100644
--- a/editors/openoffice.org-3-RC/Makefile
+++ b/editors/openoffice.org-3-RC/Makefile
@@ -126,7 +126,6 @@ BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
bash:${PORTSDIR}/shells/bash \
imake:${X_IMAKE_PORT}
BUILD_DEPENDS+= ant:${PORTSDIR}/devel/apache-ant
-LIB_DEPENDS+= cups.2:${PORTSDIR}/print/cups-base
.if !defined(WITH_GPC)
LIB_DEPENDS+= art_lgpl_2:${PORTSDIR}/graphics/libart_lgpl
.endif
@@ -142,7 +141,6 @@ NUMOFPROCESSES?= 1
CONFIGURE_ARGS+= --with-gnu-cp=${LOCALBASE}/bin/gcp \
--with-gnu-patch=${LOCALBASE}/bin/gpatch \
--enable-crashdump=yes \
- --enable-cups=yes \
--with-system-zlib
.if ${ARCH} == amd64
WITHOUT_MOZILLA= yes
diff --git a/editors/openoffice.org-3-RC/files/Makefile.knobs b/editors/openoffice.org-3-RC/files/Makefile.knobs
index d6e7257fec39..a0926318a1c6 100644
--- a/editors/openoffice.org-3-RC/files/Makefile.knobs
+++ b/editors/openoffice.org-3-RC/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"