diff options
author | dinoex <dinoex@FreeBSD.org> | 2004-05-15 16:49:09 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2004-05-15 16:49:09 +0800 |
commit | 39d8b60c002d47913ccddc10f911ab0aaffe1f0c (patch) | |
tree | 5f6ca05e84871153ba132f114276ffc14f114cb3 /www/apache13-modssl | |
parent | 8d30fc01d068b91dea8370abd21ea21c1995aeef (diff) | |
download | freebsd-ports-gnome-39d8b60c002d47913ccddc10f911ab0aaffe1f0c.tar.gz freebsd-ports-gnome-39d8b60c002d47913ccddc10f911ab0aaffe1f0c.tar.zst freebsd-ports-gnome-39d8b60c002d47913ccddc10f911ab0aaffe1f0c.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
Diffstat (limited to 'www/apache13-modssl')
-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/=/%%!/} \ |