aboutsummaryrefslogtreecommitdiff
path: root/graphics/batik
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/batik')
-rw-r--r--graphics/batik/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/batik/Makefile b/graphics/batik/Makefile
index ae1bc78bc549..b8f617c7ed78 100644
--- a/graphics/batik/Makefile
+++ b/graphics/batik/Makefile
@@ -26,6 +26,9 @@ ALL_TARGET= jars all-jar
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
TARGET_DIR= ${WRKSRC}/${PORTNAME}-${PORTVERSION}
+# Prevent out of memory error during build
+MAKE_ENV+= "ANT_OPTS=-Xmx512m"
+
.if !defined(NOPORTDOCS)
ALL_TARGET+= javadoc
.endif