diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2004-05-15 08:49:09 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2004-05-15 08:49:09 +0000 |
commit | ee4ceb5c27493e08f2d34f7aa5bc0c7b82e0ad5d (patch) | |
tree | 977136f4deac11999f617487069bc822e8847b14 /www/apache13-modssl/Makefile | |
parent | 400a59054d8590dcecaf11a5352f2fc93b7da055 (diff) | |
download | ports-ee4ceb5c27493e08f2d34f7aa5bc0c7b82e0ad5d.tar.gz ports-ee4ceb5c27493e08f2d34f7aa5bc0c7b82e0ad5d.zip |
- allow build without expat, new option APACHE_WITHOUT_EXPAT
To run some (mod_perl) applications, a full expat library is needed, but the
built-in one conflicts with it. This patch allows you to build Apache without
the built-in expat so the other modules can load what they need.
PR: 66650
Submitted by: Vivek Khera
Notes
Notes:
svn path=/head/; revision=109196
Diffstat (limited to 'www/apache13-modssl/Makefile')
-rw-r--r-- | www/apache13-modssl/Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/www/apache13-modssl/Makefile b/www/apache13-modssl/Makefile index 8d1250050f52..1ddaeaa2aa60 100644 --- a/www/apache13-modssl/Makefile +++ b/www/apache13-modssl/Makefile @@ -130,6 +130,10 @@ CONFIGURE_ARGS+=--prefix=${PREFIX} \ CONFIGURE_ARGS+= --runtimedir=${APACHE_RELATIVE_RUNTIMEDIR} .endif +.if defined(APACHE_WITHOUT_EXPAT) +CONFIGURE_ARGS+= --disable-rule=EXPAT +.endif + .if defined(APACHE_HARD_SERVER_LIMIT) HARD_SERVER_LIMIT=-DHARD_SERVER_LIMIT=${APACHE_HARD_SERVER_LIMIT} .else @@ -323,6 +327,9 @@ pre-fetch: @${ECHO_MSG} " This setting activates build of mod_deflate." @${ECHO_MSG} " [default is no]" @${ECHO_MSG} "" + @${ECHO_MSG} " APACHE_WITHOUT_EXPAT=yes don't compile in expat." + @${ECHO_MSG} " [default is no (expat is included)]" + @${ECHO_MSG} "" post-extract: @${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \ |