From 998fed784b4e2985891cf7cd467b01417bf57063 Mon Sep 17 00:00:00 2001 From: Maho Nakata Date: Sat, 26 Apr 2008 08:01:13 +0000 Subject: 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 --- editors/openoffice.org-vcltesttool/files/Makefile.knobs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'editors/openoffice.org-vcltesttool/files') diff --git a/editors/openoffice.org-vcltesttool/files/Makefile.knobs b/editors/openoffice.org-vcltesttool/files/Makefile.knobs index 2d429399cee3..686099bd3274 100644 --- a/editors/openoffice.org-vcltesttool/files/Makefile.knobs +++ b/editors/openoffice.org-vcltesttool/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" -- cgit v1.2.3