aboutsummaryrefslogtreecommitdiffstats
path: root/editors/openoffice-3-devel
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2006-09-01 13:47:55 +0800
committerale <ale@FreeBSD.org>2006-09-01 13:47:55 +0800
commit87860ce67dcee7dfa72eb7fc824f43444a492a08 (patch)
treeb64e8c002bce74c3c8bf4eb551511c7a5405a944 /editors/openoffice-3-devel
parent85e7dd3a5fd312feb34075d226fa984fef0a8c21 (diff)
downloadfreebsd-ports-gnome-87860ce67dcee7dfa72eb7fc824f43444a492a08.tar.gz
freebsd-ports-gnome-87860ce67dcee7dfa72eb7fc824f43444a492a08.tar.zst
freebsd-ports-gnome-87860ce67dcee7dfa72eb7fc824f43444a492a08.zip
Add a knob to disable Gnome VFS support.
Approved by: maho
Diffstat (limited to 'editors/openoffice-3-devel')
-rw-r--r--editors/openoffice-3-devel/Makefile2
-rw-r--r--editors/openoffice-3-devel/files/Makefile.knobs11
2 files changed, 12 insertions, 1 deletions
diff --git a/editors/openoffice-3-devel/Makefile b/editors/openoffice-3-devel/Makefile
index 344e95ae5c8b..975ac1f0bbe3 100644
--- a/editors/openoffice-3-devel/Makefile
+++ b/editors/openoffice-3-devel/Makefile
@@ -32,7 +32,7 @@ MAINTAINER= openoffice@FreeBSD.org
COMMENT?= Integrated wordprocessor/dbase/spreadsheet/drawing/chart/browser(developer version)
NO_LATEST_LINK= yes
-USE_GNOME= gtk20 gnomevfs2
+USE_GNOME= gtk20
MOZILLA_VERSION= 1.7.5
MOZILLA_SOURCE= mozilla-source-${MOZILLA_VERSION}.tar.gz
.if !defined(WITHOUT_MOZILLA)
diff --git a/editors/openoffice-3-devel/files/Makefile.knobs b/editors/openoffice-3-devel/files/Makefile.knobs
index 8e007114522f..5f2a32adb100 100644
--- a/editors/openoffice-3-devel/files/Makefile.knobs
+++ b/editors/openoffice-3-devel/files/Makefile.knobs
@@ -25,6 +25,12 @@ CONFIGURE_ARGS+= --disable-mozilla
CONFIGURE_ARGS+= --enable-build-mozilla
.endif
+.if defined(WITHOUT_GNOMEVFS)
+CONFIGURE_ARGS+= --disable-gnome-vfs
+.else
+USE_GNOME+= gnomevfs2
+.endif
+
.if defined(ALL_LOCALIZED_LANGS)
CONFIGURE_ARGS+= --with-lang=ALL
.else
@@ -68,6 +74,11 @@ pre-fetch:
@${ECHO} "You can compile OOo without Mozilla connectivity with"
@${ECHO} "make -DWITHOUT_MOZILLA"
.endif
+.if !defined(WITHOUT_GNOMEVFS)
+ @${ECHO}
+ @${ECHO} "You can compile OOo without gnome VFS support with"
+ @${ECHO} "make -DWITHOUT_GNOMEVFS"
+.endif
#.if !defined(WITH_TTF_BYTECODE_ENABLED)
# @${ECHO}
# @${ECHO} "You may get better quality of glyphs"