summaryrefslogtreecommitdiffstats
path: root/www/apache13-modssl
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2004-05-15 08:49:09 +0000
committerdinoex <dinoex@FreeBSD.org>2004-05-15 08:49:09 +0000
commit39d8b60c002d47913ccddc10f911ab0aaffe1f0c (patch)
tree5f6ca05e84871153ba132f114276ffc14f114cb3 /www/apache13-modssl
parent8d30fc01d068b91dea8370abd21ea21c1995aeef (diff)
downloadFreeBSD-ports-39d8b60c002d47913ccddc10f911ab0aaffe1f0c.zip
FreeBSD-ports-39d8b60c002d47913ccddc10f911ab0aaffe1f0c.tar.gz
- 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/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/www/apache13-modssl/Makefile b/www/apache13-modssl/Makefile
index 8d12500..1ddaeaa 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/=/%%!/} \
OpenPOWER on IntegriCloud