aboutsummaryrefslogtreecommitdiff
path: root/sysutils/p5-arclog
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-03-13 16:15:36 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2012-03-13 16:15:36 +0000
commitb59621d3ae883bef429a8fae6073bfa293a55222 (patch)
treeb415c7b2903cf47ada68c5557c3c6ac33a25fc41 /sysutils/p5-arclog
parente93c09b8f3675471a176b72ae1e6f085f7a607ad (diff)
downloadports-b59621d3ae883bef429a8fae6073bfa293a55222.tar.gz
ports-b59621d3ae883bef429a8fae6073bfa293a55222.zip
Notes
Diffstat (limited to 'sysutils/p5-arclog')
-rw-r--r--sysutils/p5-arclog/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/sysutils/p5-arclog/Makefile b/sysutils/p5-arclog/Makefile
index 41ecdf6f630c..324ec87f1f1e 100644
--- a/sysutils/p5-arclog/Makefile
+++ b/sysutils/p5-arclog/Makefile
@@ -20,7 +20,7 @@ RUN_DEPENDS= p5-TimeDate>=0:${PORTSDIR}/devel/p5-TimeDate \
p5-Compress-Bzip2>=0:${PORTSDIR}/archivers/p5-Compress-Bzip2 \
p5-File-MMagic>=0:${PORTSDIR}/devel/p5-File-MMagic \
p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey
-BUILD_DEPENDS:= ${RUN_DEPENDS}
+BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN1= arclog.1
@@ -29,4 +29,10 @@ PLIST_FILES= bin/arclog \
%%SITE_PERL%%/%%PERL_ARCH%%/auto/arclog/.packlist
PLIST_DIRS= %%SITE_PERL%%/%%PERL_ARCH%%/auto/arclog
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500903
+RUN_DEPENDS+= p5-IO-Compress>=2.017:${PORTSDIR}/archivers/p5-IO-Compress
+.endif
+
+.include <bsd.port.post.mk>