diff options
Diffstat (limited to 'www/p5-WWW-Plurk/Makefile')
-rw-r--r-- | www/p5-WWW-Plurk/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/www/p5-WWW-Plurk/Makefile b/www/p5-WWW-Plurk/Makefile index 741c02c71d68..228bca2c6d58 100644 --- a/www/p5-WWW-Plurk/Makefile +++ b/www/p5-WWW-Plurk/Makefile @@ -20,7 +20,7 @@ RUN_DEPENDS= p5-DateTime-Format-Mail>=0:${PORTSDIR}/devel/p5-DateTime-Format-Mai p5-JSON>=2.00:${PORTSDIR}/converters/p5-JSON \ p5-Math-Base36>=0:${PORTSDIR}/math/p5-Math-Base36 \ p5-libwww>=0:${PORTSDIR}/www/p5-libwww -BUILD_DEPENDS:= ${RUN_DEPENDS} +BUILD_DEPENDS= ${RUN_DEPENDS} BUILD_DEPENDS+= p5-Test-Deep>=0:${PORTSDIR}/devel/p5-Test-Deep PERL_CONFIGURE= yes @@ -30,4 +30,10 @@ MAN3= WWW::Plurk.3 WWW::Plurk::Friend.3 WWW::Plurk::Message.3 post-patch: ${FIND} ${WRKSRC} -name "*.orig" -delete -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500905 +RUN_DEPENDS+= p5-Time-Piece>=0:${PORTSDIR}/devel/p5-Time-Piece +.endif + +.include <bsd.port.post.mk> |