diff options
author | ache <ache@FreeBSD.org> | 2002-02-19 15:00:34 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-02-19 15:00:34 +0800 |
commit | 699b0c266988d0b524eabe56eb342bbbe5be60e4 (patch) | |
tree | c4bfb6a2a4cd112a0dbaac72b106d8b843af3461 /www/apache13 | |
parent | 21b2f383a2f7731399cab5ca228a3bea10b41b16 (diff) | |
download | freebsd-ports-gnome-699b0c266988d0b524eabe56eb342bbbe5be60e4.tar.gz freebsd-ports-gnome-699b0c266988d0b524eabe56eb342bbbe5be60e4.tar.zst freebsd-ports-gnome-699b0c266988d0b524eabe56eb342bbbe5be60e4.zip |
Allow to configure HARD_SERVER_LIMIT via 'make' variable
Diffstat (limited to 'www/apache13')
-rw-r--r-- | www/apache13/Makefile | 12 |
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 |