aboutsummaryrefslogtreecommitdiff
path: root/www/rt2/Makefile
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-08-12 12:48:01 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-08-12 12:48:01 +0000
commit3a7b17911b12b557fc9c450a975d5a86e1c8303e (patch)
treec1163267eb35cfcd7d2b1680f5e16f391848e9b1 /www/rt2/Makefile
parentb45207534f07eb7c813498681685467341d13336 (diff)
downloadports-3a7b17911b12b557fc9c450a975d5a86e1c8303e.tar.gz
ports-3a7b17911b12b557fc9c450a975d5a86e1c8303e.zip
Notes
Diffstat (limited to 'www/rt2/Makefile')
-rw-r--r--www/rt2/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/www/rt2/Makefile b/www/rt2/Makefile
index 992cd56052dd..9501f344e8ad 100644
--- a/www/rt2/Makefile
+++ b/www/rt2/Makefile
@@ -38,8 +38,7 @@ BUILD_DEPENDS= ${LOCALBASE}/libexec/apache/libperl.so:${PORTSDIR}/www/mod_perl \
${SITE_PERL}/Text/Template.pm:${PORTSDIR}/textproc/p5-Text-Template \
${SITE_PERL}/Text/Wrapper.pm:${PORTSDIR}/textproc/p5-Text-Wrapper \
${SITE_PERL}/Tie/IxHash.pm:${PORTSDIR}/devel/p5-Tie-IxHash \
- ${SITE_PERL}/CGI/Cookie.pm:${PORTSDIR}/www/p5-CGI.pm \
- ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
+ ${SITE_PERL}/CGI/Cookie.pm:${PORTSDIR}/www/p5-CGI.pm
WRKSRC= ${WRKDIR}/rt-${RT_VERSION}
RT_VERSION= ${PORTVERSION:C/\./-/g}
@@ -155,9 +154,11 @@ post-install:
BROKEN= "Broken pkg-plist"
.endif
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+= ${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
.if ${PERL_LEVEL} < 500601
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
-RUN_DEPENDS+= ${SITE_PERL}/File/Spec.pm:${PORTSDIR}/devel/p5-File-Spec
+.endif
.endif
.include <bsd.port.post.mk>