diff options
author | Maho Nakata <maho@FreeBSD.org> | 2012-06-08 02:42:29 +0000 |
---|---|---|
committer | Maho Nakata <maho@FreeBSD.org> | 2012-06-08 02:42:29 +0000 |
commit | 88b0a26e133a985af5ac6bca6f708d56f45628b5 (patch) | |
tree | 48851a7031a1ec716d74aff69bdaac43a27bea3b /editors/openoffice-3-devel | |
parent | - Update to 1.7.2 (diff) |
allow gconf2 and gnomevfs2 to be optional.
PR: 168781
Submitted by: scf@
Diffstat (limited to 'editors/openoffice-3-devel')
-rw-r--r-- | editors/openoffice-3-devel/Makefile | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/editors/openoffice-3-devel/Makefile b/editors/openoffice-3-devel/Makefile index a6980f23e756..2601482a56d2 100644 --- a/editors/openoffice-3-devel/Makefile +++ b/editors/openoffice-3-devel/Makefile @@ -24,7 +24,7 @@ LICENSE= AL2 NO_LATEST_LINK= yes -USE_GNOME= desktopfileutils gtk20 libxslt libidl gconf2 gnomevfs2 glib20 +USE_GNOME= desktopfileutils gtk20 libxslt libidl glib20 USE_XORG= x11 ice xaw xau xext xrender xrandr \ xi xt xcursor xdamage xcomposite xfixes USE_GL= gl glu @@ -37,6 +37,10 @@ USE_BZIP2= yes WITHOUT_CPU_CFLAGS= true MAKE_JOBS_SAFE= yes +OPTIONS_DEFINE= GCONF GNOMEVFS +OPTIONS_DEFAULT=GCONF GNOMEVFS +GNOMEVFS_DESC= Enable GNOME Virtual File System + .include <bsd.port.pre.mk> USE_JAVA= yes @@ -44,6 +48,18 @@ JAVA_BUILD= jdk JAVA_VENDOR= freebsd bsdjava openjdk JAVA_VERSION= 1.5 1.6 +.if !defined(WITHOUT_GCONF) +USE_GNOME+= gconf2 +.else +CONFIGURE_ARGS+=--disable-gconf +.endif + +.if !defined(WITHOUT_GNOMEVFS) +USE_GNOME+= gnomevfs2 +.else +CONFIGURE_ARGS+=--disable-gnome-vfs +.endif + .include <${FILESDIR}/Makefile.localized> ONLY_FOR_ARCHS= i386 amd64 |