summaryrefslogtreecommitdiff
path: root/editors/openoffice-3/Makefile
diff options
context:
space:
mode:
authorMaho Nakata <maho@FreeBSD.org>2012-08-07 05:41:43 +0000
committerMaho Nakata <maho@FreeBSD.org>2012-08-07 05:41:43 +0000
commitc965b2dffc217836330053ee76a12afe2225ddce (patch)
tree843987f86f0aa5f87ceaf85cc4374fdffcd56ca2 /editors/openoffice-3/Makefile
parent- Update 20120804 [1] and 20120801 for portupgrade (diff)
Added a keyword so that openoffice and libreoffice can
co-exist. Submitted by: Jan Henrik Sylvester <me@janh.de>
Notes
Notes: svn path=/head/; revision=302223
Diffstat (limited to 'editors/openoffice-3/Makefile')
-rw-r--r--editors/openoffice-3/Makefile12
1 files changed, 11 insertions, 1 deletions
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 \