From 39d8b60c002d47913ccddc10f911ab0aaffe1f0c Mon Sep 17 00:00:00 2001 From: dinoex Date: Sat, 15 May 2004 08:49:09 +0000 Subject: - 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 --- www/apache13-modssl/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'www/apache13-modssl') 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/=/%%!/} \ -- cgit