From 2290957a28ae9f4456734b22217fbc43d27e1138 Mon Sep 17 00:00:00 2001 From: Ion-Mihai Tetcu Date: Tue, 6 Jun 2006 14:02:43 +0000 Subject: Dick Hoogendijk pointed out that apache's config file format changed in 2.2.tweak the config file we install to work as intended on apache 2.2. PR: ports/97995 Submitted by: maintainer Approved by: lawrance (mentor, implicit) --- www/horde4-base/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'www/horde4-base') diff --git a/www/horde4-base/Makefile b/www/horde4-base/Makefile index 489d0c74b547..f973f534b24d 100644 --- a/www/horde4-base/Makefile +++ b/www/horde4-base/Makefile @@ -270,6 +270,10 @@ pre-configure: ${FILESDIR}/httpd.conf.horde > ${WRKDIR}/httpd-horde.conf .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) -- cgit v1.2.3