From c965b2dffc217836330053ee76a12afe2225ddce Mon Sep 17 00:00:00 2001 From: Maho Nakata Date: Tue, 7 Aug 2012 05:41:43 +0000 Subject: Added a keyword so that openoffice and libreoffice can co-exist. Submitted by: Jan Henrik Sylvester --- editors/openoffice-3/Makefile | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'editors/openoffice-3/Makefile') diff --git a/editors/openoffice-3/Makefile b/editors/openoffice-3/Makefile index 6e7df75bdf72..bbfc4d4863a1 100644 --- a/editors/openoffice-3/Makefile +++ b/editors/openoffice-3/Makefile @@ -119,9 +119,19 @@ LIB_DEPENDS= cairo.2:${PORTSDIR}/graphics/cairo \ hunspell-1.3.0:${PORTSDIR}/textproc/hunspell \ poppler-glib.8:${PORTSDIR}/graphics/poppler-glib \ rdf.0:${PORTSDIR}/textproc/redland \ - textcat.0:${PORTSDIR}/textproc/libtextcat \ freetype.9:${PORTSDIR}/print/freetype2 +.if exists(${LOCALBASE}/include/libexttextcat/textcat.h) +.if exists(${LOCALBASE}/include/textcat.h) +LIB_DEPENDS+= exttextcat-1.0.0:${PORTSDIR}/textproc/libexttextcat +EXTRA_PATCHES+= ${FILESDIR}/extra-patch-libexttextcat-lingucomponent +.else +IGNORE= textproc/libexttextcat needs COMPAT_TEXTCAT enabled +.endif +.else +LIB_DEPENDS+= textcat.0:${PORTSDIR}/textproc/libtextcat +.endif + BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip \ ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip \ gpatch:${PORTSDIR}/devel/patch \ -- cgit v1.2.3