This may need more openfiles limits than the default to build, so add a

warning accordingly.

Discussed with kili@
ok jolan@ (maintainer)
This commit is contained in:
ajacoutot 2009-09-21 06:39:33 +00:00
parent 972fa9a7e1
commit 3d85f69440

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.2 2009/09/06 11:46:18 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.3 2009/09/21 06:39:33 ajacoutot Exp $
COMMENT= Visual Basic .NET support for Mono
DISTNAME= mono-basic-2.4.2
@ -27,4 +27,14 @@ RUN_DEPENDS= ::lang/mono
CONFIGURE_STYLE=simple
CONFIGURE_ARGS+=--prefix="${TRUEPREFIX}"
pre-build:
echo ""; \
echo "*** WARNING: you may have to increase your limits to build this ports".; \
echo "*** See the man page for your shell and look for the 'limit' or"; \
echo "*** 'ulimit' command. You may also want to see the login.conf(5)"; \
echo "*** manual page. Some examples are:"; \
echo "*** csh(1) and tcsh(1): limit openfiles <amount of file descriptors>"; \
echo "*** ksh(1), zsh(1) and bash(1): ulimit -n <amount of file descriptors>"; \
echo ""
.include <bsd.port.mk>