aboutsummaryrefslogtreecommitdiff
path: root/www/apache13
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2002-02-19 07:00:34 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2002-02-19 07:00:34 +0000
commit8d9d65ba65fa8e5df05e43eea136e6e3360c6cc3 (patch)
tree054ecae7df4c29cee7576cd5deae5b8693d5cb93 /www/apache13
parent828065688946f9c458c4a86fa9497b4cb20ee269 (diff)
downloadports-8d9d65ba65fa8e5df05e43eea136e6e3360c6cc3.tar.gz
ports-8d9d65ba65fa8e5df05e43eea136e6e3360c6cc3.zip
Notes
Diffstat (limited to 'www/apache13')
-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