aboutsummaryrefslogtreecommitdiffstats
path: root/www/horde4-base/Makefile
diff options
context:
space:
mode:
authoritetcu <itetcu@FreeBSD.org>2006-06-06 22:02:43 +0800
committeritetcu <itetcu@FreeBSD.org>2006-06-06 22:02:43 +0800
commit2670db375810b0d314d1eb262433a4bac84af846 (patch)
tree6df70188cd266c1f9b35c55aba1b99841f63fdfc /www/horde4-base/Makefile
parentc293121301b6351a9834cb93f7064d5ee7c54e74 (diff)
downloadfreebsd-ports-gnome-2670db375810b0d314d1eb262433a4bac84af846.tar.gz
freebsd-ports-gnome-2670db375810b0d314d1eb262433a4bac84af846.tar.zst
freebsd-ports-gnome-2670db375810b0d314d1eb262433a4bac84af846.zip
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)
Diffstat (limited to 'www/horde4-base/Makefile')
-rw-r--r--www/horde4-base/Makefile4
1 files changed, 4 insertions, 0 deletions
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
@@ -271,6 +271,10 @@ pre-configure:
.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)