From hmo@sep.oldach.net  Mon Sep  1 11:47:21 2003
Return-Path: <hmo@sep.oldach.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7C2BA16A4BF
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  1 Sep 2003 11:47:21 -0700 (PDT)
Received: from sep.oldach.net (sep.oldach.net [194.180.25.6])
	by mx1.FreeBSD.org (Postfix) with ESMTP id ABECE43FF2
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  1 Sep 2003 11:47:19 -0700 (PDT)
	(envelope-from hmo@sep.oldach.net)
Received: from sep.oldach.net (localhost [127.0.0.1])
	by sep.oldach.net (8.12.9/8.12.9/hmo03mar03) with ESMTP id h81Il9Pq023410
	(version=TLSv1/SSLv3 cipher=DHE-DSS-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 1 Sep 2003 20:47:13 +0200 (CEST)
	(envelope-from hmo@sep.oldach.net)
Received: (from hmo@localhost)
	by sep.oldach.net (8.12.9/8.12.9/Submit) id h81Il8R0023409;
	Mon, 1 Sep 2003 20:47:09 +0200 (CEST)
	(envelope-from hmo)
Message-Id: <200309011847.h81Il8R0023409@sep.oldach.net>
Date: Mon, 1 Sep 2003 20:47:09 +0200 (CEST)
From: Helge Oldach <ports-www-apache13-expat@oldach.net>
Reply-To: Helge Oldach <ports-www-apache13-expat@oldach.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: ports/www/apache13 should allow building with included expat-lite
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         56290
>Category:       ports
>Synopsis:       ports/www/apache13 should allow building with included expat-lite
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ache
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 01 11:50:17 PDT 2003
>Closed-Date:    Mon Sep 01 16:46:57 PDT 2003
>Last-Modified:  Mon Sep 01 16:46:57 PDT 2003
>Originator:     Helge Oldach
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
bit-wise, full-duplex
>Environment:
System: FreeBSD sep.oldach.net 4.8-STABLE FreeBSD 4.8-STABLE #1565: Sat Aug 23 21:50:03 CEST 2003 root@localhost:/usr/obj/usr/src/sys/GENERIC i386

Please note that the mail address above will expire for spam avoidance
reasons. (FreeBSD unfortunately publishes mail addresses as food for
mail address harvesters.) Please pick an up-to-date address from my
website.

	
>Description:

ports/www/apache13 was changed early this year to allow compilation
either with *no* expat library, or with an external library
(ports/textproc/expat2). The built-in expat-lite cannot be addressed any
longer by the port's configuration. However this would be sufficient for
many purposes, including mod_dav.

I would *not* like to be required to install ports/textproc/expat2
(which also requires ports/devel/libtool13) to avoid unnecessary ports
bloat.

>How-To-Repeat:
	
>Fix:

--- Makefile.ORIG	Mon Aug 18 09:10:12 2003
+++ Makefile	Mon Sep  1 20:42:06 2003
@@ -25,7 +25,9 @@
 DOCUMENT_ROOT=${DATADIR}/data
 DEFAULT_PATH=/bin:/usr/bin:${PREFIX}/bin
 
-.if defined(WITHOUT_APACHE_EXPAT) && ${WITHOUT_APACHE_EXPAT} == yes
+.if defined(WITH_APACHE_EXPAT) && ${WITH_APACHE_EXPAT} == yes
+EXPAT_CONF+=    --enable-rule=EXPAT
+.elif defined(WITH_APACHE_EXPAT)
 EXPAT_CONF+=    --disable-rule=EXPAT
 .else
 LIB_DEPENDS+=   expat.4:${PORTSDIR}/textproc/expat2
@@ -107,7 +109,7 @@
 
 CONFIGURE_ENV=  OPTIM='${OPTIM}' LD_SHLIB='${CC}' LIBS='${LIBS}'
 
-.if !defined(WITHOUT_APACHE_EXPAT) || ${WITHOUT_APACHE_EXPAT} != yes
+.if !defined(WITH_APACHE_EXPAT)
 CONFIGURE_ENV+= \
 		INCLUDES=-I${LOCALBASE}/include \
 		LDFLAGS=-L${LOCALBASE}/lib
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ache  
Responsible-Changed-By: krion 
Responsible-Changed-When: Mon Sep 1 12:10:56 PDT 2003 
Responsible-Changed-Why:  
Over to maintainer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56290 
State-Changed-From-To: open->closed 
State-Changed-By: ache 
State-Changed-When: Mon Sep 1 16:46:29 PDT 2003 
State-Changed-Why:  
Another fix comitted 

http://www.freebsd.org/cgi/query-pr.cgi?pr=56290 
>Unformatted:
