1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Fix BUILD_DEPENDS: p5-HTTP-Tiny is in core since Perl 5.13.9 (check PERL_LEVEL against 501400)

This commit is contained in:
Sunpoet Po-Chuan Hsieh 2012-04-21 05:53:58 +00:00
parent f29fb1b763
commit f9ca195d0a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=295171

View File

@ -15,8 +15,7 @@ DISTNAME= ${PORTNAME}-v${PORTVERSION}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Get public suffix of domain name via Mozilla Public Suffix List
BUILD_DEPENDS= p5-HTTP-Tiny>=0:${PORTSDIR}/www/p5-HTTP-Tiny \
p5-Regexp-Common>=0:${PORTSDIR}/textproc/p5-Regexp-Common \
BUILD_DEPENDS= p5-Regexp-Common>=0:${PORTSDIR}/textproc/p5-Regexp-Common \
p5-URI>=0:${PORTSDIR}/net/p5-URI
RUN_DEPENDS= p5-Regexp-Common>=0:${PORTSDIR}/textproc/p5-Regexp-Common \
p5-URI>=0:${PORTSDIR}/net/p5-URI
@ -28,4 +27,10 @@ PERL_MODBUILD= yes
MAN3= Mozilla::PublicSuffix.3
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501400
BUILD_DEPENDS+= p5-HTTP-Tiny>=0:${PORTSDIR}/www/p5-HTTP-Tiny
.endif
.include <bsd.port.post.mk>