ports/97995: [MAINTAINER] www/horde: Fix apache config file to work with apache >= 2.2
Shaun Amott
shaun at inerd.com
Sat May 27 00:40:21 UTC 2006
>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:
More information about the freebsd-ports-bugs
mailing list