Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 May 2006 01:31:54 +0100
From:      Shaun Amott <shaun@inerd.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/97995: [MAINTAINER] www/horde: Fix apache config file to work with apache >= 2.2
Message-ID:  <1148689914.2925@charon.picobyte.net>
Resent-Message-ID: <200605270040.k4R0eFLc094805@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         97995
>Category:       ports
>Synopsis:       [MAINTAINER] www/horde: Fix apache config file to work with apache >= 2.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 27 00:40:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Shaun Amott
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:

>Description:

Dick Hoogendijk pointed out that apache's config file format changed in
2.2. The patch below tweaks the config file we install to work as
intended on apache 2.2.

>How-To-Repeat:

>Fix:

--- horde.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/www/horde/Makefile,v
retrieving revision 1.37
diff -u -r1.37 Makefile
--- Makefile	12 May 2006 01:59:55 -0000	1.37
+++ Makefile	27 May 2006 00:28:09 -0000
@@ -271,6 +271,10 @@
 .if ${PHP_VER} == 5
 	@${REINPLACE_CMD} -e "s:mod_php4.c:mod_php5.c:" ${WRKDIR}/httpd-horde.conf
 .endif
+.if ${APACHE_VERSION} >= 22
+	@${REINPLACE_CMD} -e "s:IfModule mod_\([^ ]*\)\.c:IfModule \1_module:" \
+	                  ${WRKDIR}/httpd-horde.conf
+.endif
 	@${REINPLACE_CMD} -e "s:%%LOCALBASE%%:${LOCALBASE}:" ${WRKSRC}/config/mime_drivers.php.dist
 .if !defined(WITHOUT_X11)
 . if !defined(WITHOUT_WV)
--- horde.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1148689914.2925>