aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice-3
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-3
parent9e0f8b524ce57e83273895a4c61a577d93f20ea3 (diff)
downloadports-a7d63a8e2b85afb9f49494304d0d6faaa6da0990.tar.gz
ports-a7d63a8e2b85afb9f49494304d0d6faaa6da0990.zip
Notes
Diffstat (limited to 'editors/openoffice-3')
-rw-r--r--editors/openoffice-3/Makefile2
-rw-r--r--editors/openoffice-3/files/Makefile.knobs12
2 files changed, 12 insertions, 2 deletions
diff --git a/editors/openoffice-3/Makefile b/editors/openoffice-3/Makefile
index d64639881a40..1ff8da786317 100644
--- a/editors/openoffice-3/Makefile
+++ b/editors/openoffice-3/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-3/files/Makefile.knobs b/editors/openoffice-3/files/Makefile.knobs
index d6e7257fec39..a0926318a1c6 100644
--- a/editors/openoffice-3/files/Makefile.knobs
+++ b/editors/openoffice-3/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"