aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--textproc/fop/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/textproc/fop/Makefile b/textproc/fop/Makefile
index da67cd5453d7..766bbbb37a5d 100644
--- a/textproc/fop/Makefile
+++ b/textproc/fop/Makefile
@@ -27,6 +27,9 @@ USE_JAVA= yes
JAVA_VERSION= 1.4+
USE_ANT= yes
+# Prevent out of memory error during build
+MAKE_ENV+= "ANT_OPTS=-Xmx512m"
+
post-extract:
@cd ${WRKDIR} && ${UNZIP_CMD} ${DISTDIR}/offo-hyphenation.zip
@${CP} ${WRKDIR}/offo-hyphenation/hyph/*.xml ${WRKSRC}/hyph