aboutsummaryrefslogtreecommitdiff
path: root/editors/openoffice.org-3/files
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2008-04-26 08:01:13 +0000
committerMaho Nakata <maho@FreeBSD.org>2008-04-26 08:01:13 +0000
commit998fed784b4e2985891cf7cd467b01417bf57063 (patch)
tree77b566a46330ee6ddd8dfeb7397f68727d3cd52b /editors/openoffice.org-3/files
parent18385b65b2700d10db54f467ae58e32d88460aee (diff)
downloadports-998fed784b4e2985891cf7cd467b01417bf57063.tar.gz
ports-998fed784b4e2985891cf7cd467b01417bf57063.zip
Add WITH_SYSTEM_ICU knob. Activate when devel/icu is installed.
Fix build -CURRENT diablo-jdk breakage PR: 121787 Submitted by: Michael Moll Patch submitted by: Marcin Cieslak <saper@system.pl>
Notes
Notes: svn path=/head/; revision=211999
Diffstat (limited to 'editors/openoffice.org-3/files')
-rw-r--r--editors/openoffice.org-3/files/Makefile.knobs12
1 files changed, 12 insertions, 0 deletions
diff --git a/editors/openoffice.org-3/files/Makefile.knobs b/editors/openoffice.org-3/files/Makefile.knobs
index 2d429399cee3..686099bd3274 100644
--- a/editors/openoffice.org-3/files/Makefile.knobs
+++ b/editors/openoffice.org-3/files/Makefile.knobs
@@ -54,6 +54,13 @@ CONFIGURE_ARGS+= --enable-debug --enable-symbols=TRUE --enable-dbgutil
CONFIGURE_ARGS+= --enable-symbols=SMALL
.endif
+.if defined(WITH_SYSTEM_ICU)
+LIB_DEPENDS+= icule:${PORTSDIR}/devel/icu
+CONFIGURE_ARGS+= --with-system-icu=yes
+.else
+CONFIGURE_ARGS+= --with-system-icu=no
+.endif
+
pre-fetch:
.if (${OSVERSION} < 503001 && ${OSVERSION} >= 500000) || (${OSVERSION} < 492000)
@${ECHO}
@@ -86,6 +93,11 @@ pre-fetch:
@${ECHO} "You can compile OOo without gnome VFS support with"
@${ECHO} "make -DWITHOUT_GNOMEVFS"
.endif
+.if !defined(WITH_SYSTEM_ICU)
+ @${ECHO}
+ @${ECHO} "You can compile OOo with devel/icu from ports with"
+ @${ECHO} "make -DWITH_SYSTEM_ICU"
+.endif
.if !defined(WITH_SYSTEM_FREETYPE)
@${ECHO}
@${ECHO} "You can compile OOo with freetype2 from ports with"