summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/apache13/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/www/apache13/Makefile b/www/apache13/Makefile
index f215e149c7a9..12c109a0aeef 100644
--- a/www/apache13/Makefile
+++ b/www/apache13/Makefile
@@ -46,11 +46,19 @@ CONFIGURE_ARGS+= \
--disable-module=auth_dbm \
--enable-shared=max
-OPTIM= -DHARD_SERVER_LIMIT=512 \
- -DDOCUMENT_LOCATION=\\"${PREFIX}/www/data/\\" \
+OPTIM= -DDOCUMENT_LOCATION=\\"${PREFIX}/www/data/\\" \
-DDEFAULT_PATH=\\"/bin:/usr/bin:${PREFIX}/bin\\"
#
+# Set APACHE_HARD_SERVER_LIMIT env. variable to desired value
+#
+.if defined(APACHE_HARD_SERVER_LIMIT)
+OPTIM+= -DHARD_SERVER_LIMIT=${APACHE_HARD_SERVER_LIMIT}
+.else
+OPTIM+= -DHARD_SERVER_LIMIT=512
+.endif
+
+#
# Set WITH_APACHE_PERF_TUNING env. variable to YES to get maximum performance
#
.if defined(WITH_APACHE_PERF_TUNING) && ${WITH_APACHE_PERF_TUNING} == YES