Date: Fri, 14 May 2004 17:10:21 -0400 (EDT) From: Vivek Khera <vivek@khera.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/66650: allow apache13-modssl build without expat Message-ID: <20040514211021.0D7D72178A@yertle.kcilink.com> Resent-Message-ID: <200405142120.i4ELKHCg073695@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 66650 >Category: ports >Synopsis: allow apache13-modssl build without expat >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri May 14 14:20:17 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Vivek Khera >Release: FreeBSD 4.9-STABLE i386 >Organization: >Environment: System: FreeBSD yertle.int.kciLink.com 4.9-STABLE FreeBSD 4.9-STABLE #10: Wed Dec 24 13:55:56 EST 2003 khera@yertle.int.kciLink.com:/u/yertle2/usr.obj/u/sources/usr/src/sys/YERTLE i386 >Description: 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. >How-To-Repeat: >Fix: this patch applies to www/apache13-modssl port. diff -Pru apache13-modssl/Makefile apache13-modssl.new/Makefile --- apache13-modssl/Makefile Wed May 5 10:26:09 2004 +++ apache13-modssl.new/Makefile Fri May 14 17:02:09 2004 @@ -119,6 +119,10 @@ 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 @@ -313,6 +317,9 @@ @${ECHO_MSG} " APACHE_WITH_MODDEFLATE=yes mod_deflate support." @${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: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040514211021.0D7D72178A>