diff options
author | Volker Stolz <vs@FreeBSD.org> | 2004-12-15 08:45:39 +0000 |
---|---|---|
committer | Volker Stolz <vs@FreeBSD.org> | 2004-12-15 08:45:39 +0000 |
commit | a32d3e23e29f53fabbf0fce2f1182b1234e77992 (patch) | |
tree | 85537611f92e41a451c6ab5bf59f476de68c78df /security/smtpscan | |
parent | Fix path to scanlogd in rc-script (bump PORTREV) (diff) |
Only depend on p5-IO for perl <5.6 (bump PORTREV)
PR: ports/72292
Submitted by: Jin-Shan Tseng
Approved by: maintainer
Notes
Notes:
svn path=/head/; revision=124083
Diffstat (limited to 'security/smtpscan')
-rw-r--r-- | security/smtpscan/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/security/smtpscan/Makefile b/security/smtpscan/Makefile index 268eb261c1c3..0379d6494fe1 100644 --- a/security/smtpscan/Makefile +++ b/security/smtpscan/Makefile @@ -7,6 +7,7 @@ PORTNAME= smtpscan PORTVERSION= 0.5 +PORTREVISION= 1 CATEGORIES= security mail perl5 MASTER_SITES= http://www.greyhats.org/outils/smtpscan/ @@ -14,7 +15,6 @@ MAINTAINER= hubert@frbsd.org COMMENT= A remote SMTP server version detector RUN_DEPENDS= ${SITE_PERL}/Getopt/Long.pm:${PORTSDIR}/devel/p5-Getopt-Long \ - ${SITE_PERL}/${PERL_ARCH}/IO.pm:${PORTSDIR}/devel/p5-IO \ ${SITE_PERL}/${PERL_ARCH}/Net/DNS.pm:${PORTSDIR}/dns/p5-Net-DNS USE_PERL5= yes @@ -24,4 +24,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME} pre-build: ${CP} ${FILESDIR}/Makefile ${WRKSRC}/Makefile -.include <bsd.port.mk> +.include <bsd.port.pre.mk> +.if ${PERL_LEVEL} < 500600 + RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/IO.pm:${PORTSDIR}/devel/p5-IO +.endif +.include <bsd.port.post.mk> |