From a466d22460d1205438e74682d7fd4f0bb0c2df34 Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 1 May 2020 00:22:21 +0000 Subject: [PATCH] Honor resource limits during build. --- databases/postgresql-pljava/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/databases/postgresql-pljava/Makefile b/databases/postgresql-pljava/Makefile index 683dfec12a03..7b2557d7dade 100644 --- a/databases/postgresql-pljava/Makefile +++ b/databases/postgresql-pljava/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2019/05/21 05:52:31 adam Exp $ +# $NetBSD: Makefile,v 1.4 2020/05/01 00:22:21 joerg Exp $ DISTNAME= pljava-1.5.0 PKGNAME= postgresql${PGSQL_VERSION}-${DISTNAME} @@ -68,7 +68,7 @@ post-extract: ${CP} ${PKGDIR}/files/aol.netbsd.properties ${WRKSRC}/pljava-so do-build: - cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} mvn ${MAVEN_FLAGS} install + ${_ULIMIT_CMD} cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} mvn ${MAVEN_FLAGS} install do-install: cd ${WRKSRC} && ${SETENV} ${INSTALL_ENV} java ${INSTALL_FLAGS} -jar \