svn commit: r419482 - head/www/p5-Mojolicious
Adam Weinberger
adamw at FreeBSD.org
Tue Aug 2 15:53:52 UTC 2016
Author: adamw
Date: Tue Aug 2 15:53:51 2016
New Revision: 419482
URL: https://svnweb.freebsd.org/changeset/ports/419482
Log:
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.
Modified:
head/www/p5-Mojolicious/Makefile
Modified: head/www/p5-Mojolicious/Makefile
==============================================================================
--- head/www/p5-Mojolicious/Makefile Tue Aug 2 15:24:20 2016 (r419481)
+++ head/www/p5-Mojolicious/Makefile Tue Aug 2 15:53:51 2016 (r419482)
@@ -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:
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>
More information about the svn-ports-head
mailing list