diff options
author | adamw <adamw@FreeBSD.org> | 2016-08-02 23:53:51 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2016-08-02 23:53:51 +0800 |
commit | 04184d9d1d096912bb3a317a376f0c9a5c481d42 (patch) | |
tree | 24fd6f97eec962ed38c20dcefc85c6e3580ffb23 /www | |
parent | ef3b0b1caedb7e1c1574d9179a913f3c13eccca0 (diff) | |
download | freebsd-ports-gnome-04184d9d1d096912bb3a317a376f0c9a5c481d42.tar.gz freebsd-ports-gnome-04184d9d1d096912bb3a317a376f0c9a5c481d42.tar.zst freebsd-ports-gnome-04184d9d1d096912bb3a317a376f0c9a5c481d42.zip |
Only depend on p5-IO-Socket-IP if necessary. PORTREVISION bump for
possible dependency change.
IO::Socket::IP is in core (as is its dependency, Socket). On reasonably
new versions of Perl (i.e. anything newer than FreeBSD's default),
the version of those modules in core is sufficient.
At this point, likely any hard dependency on p5-IO-Socket-IP or
p5-Socket is probably wrong.
Diffstat (limited to 'www')
-rw-r--r-- | www/p5-Mojolicious/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/www/p5-Mojolicious/Makefile b/www/p5-Mojolicious/Makefile index d614ec979469..df407f130c31 100644 --- a/www/p5-Mojolicious/Makefile +++ b/www/p5-Mojolicious/Makefile @@ -3,6 +3,7 @@ PORTNAME= Mojolicious PORTVERSION= 7.01 +PORTREVISION= 1 CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -31,4 +32,11 @@ IPV6_RUN_DEPENDS= p5-IO-Socket-IP>=0.37:net/p5-IO-Socket-IP TLS_BUILD_DEPENDS= p5-IO-Socket-SSL>=1.75:security/p5-IO-Socket-SSL TLS_RUN_DEPENDS= p5-IO-Socket-SSL>=1.75:security/p5-IO-Socket-SSL -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PORT_OPTIONS:MIPV6} && ${PERL_LEVEL} < 502111 +BUILD_DEPENDS+= p5-IO-Socket-IP>=0.37:net/p5-IO-Socket-IP +RUN_DEPENDS+= p5-IO-Socket-IP>=0.37:net/p5-IO-Socket-IP +.endif + +.include <bsd.port.post.mk> |