aboutsummaryrefslogtreecommitdiff
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
parent9e0f8b524ce57e83273895a4c61a577d93f20ea3 (diff)
downloadports-a7d63a8e2b85afb9f49494304d0d6faaa6da0990.tar.gz
ports-a7d63a8e2b85afb9f49494304d0d6faaa6da0990.zip
Notes
-rw-r--r--editors/openoffice-3-devel/Makefile2
-rw-r--r--editors/openoffice-3-devel/files/Makefile.knobs12
-rw-r--r--editors/openoffice-3/Makefile2
-rw-r--r--editors/openoffice-3/files/Makefile.knobs12
-rw-r--r--editors/openoffice.org-2-RC/Makefile2
-rw-r--r--editors/openoffice.org-2-RC/files/Makefile.knobs12
-rw-r--r--editors/openoffice.org-2-devel/Makefile2
-rw-r--r--editors/openoffice.org-2-devel/files/Makefile.knobs12
-rw-r--r--editors/openoffice.org-2/Makefile2
-rw-r--r--editors/openoffice.org-2/files/Makefile.knobs12
-rw-r--r--editors/openoffice.org-3-RC/Makefile2
-rw-r--r--editors/openoffice.org-3-RC/files/Makefile.knobs12
-rw-r--r--editors/openoffice.org-3-devel/Makefile2
-rw-r--r--editors/openoffice.org-3-devel/files/Makefile.knobs12
-rw-r--r--editors/openoffice.org-3/Makefile2
-rw-r--r--editors/openoffice.org-3/files/Makefile.knobs12
-rw-r--r--editors/openoffice.org-vcltesttool/Makefile2
-rw-r--r--editors/openoffice.org-vcltesttool/files/Makefile.knobs12
18 files changed, 108 insertions, 18 deletions
diff --git a/editors/openoffice-3-devel/Makefile b/editors/openoffice-3-devel/Makefile
index a5be0f6722e7..2459afd32e60 100644
--- a/editors/openoffice-3-devel/Makefile
+++ b/editors/openoffice-3-devel/Makefile
@@ -129,7 +129,6 @@ BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf #i85469#
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
@@ -146,7 +145,6 @@ MAXMODULES?= 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-devel/files/Makefile.knobs b/editors/openoffice-3-devel/files/Makefile.knobs
index 27ed04f87275..6370fb721b04 100644
--- a/editors/openoffice-3-devel/files/Makefile.knobs
+++ b/editors/openoffice-3-devel/files/Makefile.knobs
@@ -13,6 +13,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
@@ -94,6 +101,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"
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"
diff --git a/editors/openoffice.org-2-RC/Makefile b/editors/openoffice.org-2-RC/Makefile
index 4b5bd11d4d30..c61303901bc0 100644
--- a/editors/openoffice.org-2-RC/Makefile
+++ b/editors/openoffice.org-2-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-2-RC/files/Makefile.knobs b/editors/openoffice.org-2-RC/files/Makefile.knobs
index d6e7257fec39..a0926318a1c6 100644
--- a/editors/openoffice.org-2-RC/files/Makefile.knobs
+++ b/editors/openoffice.org-2-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"
diff --git a/editors/openoffice.org-2-devel/Makefile b/editors/openoffice.org-2-devel/Makefile
index 271541c2ca9b..0a283e19b81d 100644
--- a/editors/openoffice.org-2-devel/Makefile
+++ b/editors/openoffice.org-2-devel/Makefile
@@ -130,7 +130,6 @@ BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf #i85469#
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
@@ -147,7 +146,6 @@ MAXMODULES?= 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-2-devel/files/Makefile.knobs b/editors/openoffice.org-2-devel/files/Makefile.knobs
index d6e7257fec39..a0926318a1c6 100644
--- a/editors/openoffice.org-2-devel/files/Makefile.knobs
+++ b/editors/openoffice.org-2-devel/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"
diff --git a/editors/openoffice.org-2/Makefile b/editors/openoffice.org-2/Makefile
index d64639881a40..1ff8da786317 100644
--- a/editors/openoffice.org-2/Makefile
+++ b/editors/openoffice.org-2/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-2/files/Makefile.knobs b/editors/openoffice.org-2/files/Makefile.knobs
index d6e7257fec39..a0926318a1c6 100644
--- a/editors/openoffice.org-2/files/Makefile.knobs
+++ b/editors/openoffice.org-2/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"
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"
diff --git a/editors/openoffice.org-3-devel/Makefile b/editors/openoffice.org-3-devel/Makefile
index a5be0f6722e7..2459afd32e60 100644
--- a/editors/openoffice.org-3-devel/Makefile
+++ b/editors/openoffice.org-3-devel/Makefile
@@ -129,7 +129,6 @@ BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf #i85469#
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
@@ -146,7 +145,6 @@ MAXMODULES?= 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-devel/files/Makefile.knobs b/editors/openoffice.org-3-devel/files/Makefile.knobs
index 27ed04f87275..6370fb721b04 100644
--- a/editors/openoffice.org-3-devel/files/Makefile.knobs
+++ b/editors/openoffice.org-3-devel/files/Makefile.knobs
@@ -13,6 +13,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
@@ -94,6 +101,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"
diff --git a/editors/openoffice.org-3/Makefile b/editors/openoffice.org-3/Makefile
index d64639881a40..1ff8da786317 100644
--- a/editors/openoffice.org-3/Makefile
+++ b/editors/openoffice.org-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.org-3/files/Makefile.knobs b/editors/openoffice.org-3/files/Makefile.knobs
index d6e7257fec39..a0926318a1c6 100644
--- a/editors/openoffice.org-3/files/Makefile.knobs
+++ b/editors/openoffice.org-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"
diff --git a/editors/openoffice.org-vcltesttool/Makefile b/editors/openoffice.org-vcltesttool/Makefile
index 271541c2ca9b..0a283e19b81d 100644
--- a/editors/openoffice.org-vcltesttool/Makefile
+++ b/editors/openoffice.org-vcltesttool/Makefile
@@ -130,7 +130,6 @@ BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \
${LOCALBASE}/bin/gperf:${PORTSDIR}/devel/gperf #i85469#
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
@@ -147,7 +146,6 @@ MAXMODULES?= 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-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"