aboutsummaryrefslogtreecommitdiff
path: root/devel/otrs
diff options
context:
space:
mode:
authorOlli Hauer <ohauer@FreeBSD.org>2011-05-22 22:23:16 +0000
committerOlli Hauer <ohauer@FreeBSD.org>2011-05-22 22:23:16 +0000
commit346fdfaa76c10977dac257f5f76c954fe8f0d665 (patch)
tree1812485a9aa222ba62eb3c4819b7bb7721e403f3 /devel/otrs
parent622fd470b55acab4b8978d2bd611df89c1e02483 (diff)
Notes
Diffstat (limited to 'devel/otrs')
-rw-r--r--devel/otrs/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/otrs/Makefile b/devel/otrs/Makefile
index d9892413d094..58ce71f656f4 100644
--- a/devel/otrs/Makefile
+++ b/devel/otrs/Makefile
@@ -7,6 +7,7 @@
PORTNAME= otrs
PORTVERSION= 3.0.7
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://ftp.otrs.org/pub/otrs/ \
ftp://ftp.samurai.com/pub/otrs/ \
@@ -34,7 +35,6 @@ BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Date/Pcalc.pm:${PORTSDIR}/devel/p5-Date
p5-JSON-XS>=0:${PORTSDIR}/converters/p5-JSON-XS \
p5-CSS-Minifier-XS>=0:${PORTSDIR}/textproc/p5-CSS-Minifier-XS \
p5-JavaScript-Minifier-XS>=0:${PORTSDIR}/textproc/p5-JavaScript-Minifier-XS \
- p5-Apache-Reload>=0:${PORTSDIR}/www/p5-Apache-Reload \
${SITE_PERL}/Text/Diff.pm:${PORTSDIR}/textproc/p5-Text-Diff \
${SITE_PERL}/XML/FeedPP.pm:${PORTSDIR}/textproc/p5-XML-FeedPP
RUN_DEPENDS:= ${BUILD_DEPENDS}
@@ -88,8 +88,10 @@ RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-P
USE_PGSQL= yes
.endif
-.if ${APACHE_VERSION} > 13
-RUN_DEPENDS+= ${APACHE_PKGNAMEPREFIX}mod_perl2>=2.0.0:${PORTSDIR}/www/mod_perl2
+.if ${APACHE_VERSION} == 13
+BUILD_DEPENDS+= p5-Apache-Reload>=0:${PORTSDIR}/www/p5-Apache-Reload
+.else
+RUN_DEPENDS+= ${APACHE_PKGNAMEPREFIX}mod_perl2>=2.0.5:${PORTSDIR}/www/mod_perl2
.endif
.ifdef WITH_REPORTS_MODULES