Date: Fri, 6 Sep 2013 14:40:39 +0000 (UTC) From: Mathieu Arnold <mat@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326508 - head/net/p5-Socket-GetAddrInfo Message-ID: <201309061440.r86Eedn7044025@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Fri Sep 6 14:40:39 2013 New Revision: 326508 URL: http://svnweb.freebsd.org/changeset/ports/326508 Log: Really correct plist. From perl 5.16 onwards, it doesn't need any .xs because Perl already has a version of Socket::getaddrinfo. Modified: head/net/p5-Socket-GetAddrInfo/Makefile head/net/p5-Socket-GetAddrInfo/pkg-plist Modified: head/net/p5-Socket-GetAddrInfo/Makefile ============================================================================== --- head/net/p5-Socket-GetAddrInfo/Makefile Fri Sep 6 14:30:42 2013 (r326507) +++ head/net/p5-Socket-GetAddrInfo/Makefile Fri Sep 6 14:40:39 2013 (r326508) @@ -3,7 +3,7 @@ PORTNAME= Socket-GetAddrInfo PORTVERSION= 0.22 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -22,7 +22,16 @@ MAN3= Socket::GetAddrInfo.3 \ Socket::GetAddrInfo::Strict.3 USES= perl5 shebangfix -USE_PERL5= configure +USE_PERL5= modbuild SHEBANG_FILES= bin/getaddrinfo bin/getnameinfo -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +# It only needs to compile stuff on perl older than 5.16. +.if ${PERL_LEVEL} < 501600 +PLIST_SUB+= OLD_PERL="" NEW_PERL="@comment " +.else +PLIST_SUB+= OLD_PERL="@comment " NEW_PERL="" +.endif + +.include <bsd.port.post.mk> Modified: head/net/p5-Socket-GetAddrInfo/pkg-plist ============================================================================== --- head/net/p5-Socket-GetAddrInfo/pkg-plist Fri Sep 6 14:30:42 2013 (r326507) +++ head/net/p5-Socket-GetAddrInfo/pkg-plist Fri Sep 6 14:40:39 2013 (r326508) @@ -1,15 +1,22 @@ bin/getaddrinfo bin/getnameinfo -%%SITE_PERL%%/%%PERL_ARCH%%/Socket/GetAddrInfo.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Socket/GetAddrInfo/Core.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Socket/GetAddrInfo/Emul.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Socket/GetAddrInfo/Socket6api.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Socket/GetAddrInfo/Strict.pm -%%SITE_PERL%%/%%PERL_ARCH%%/Socket/GetAddrInfo/XS.pm -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Socket/GetAddrInfo/.packlist -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Socket/GetAddrInfo/GetAddrInfo.bs -%%SITE_PERL%%/%%PERL_ARCH%%/auto/Socket/GetAddrInfo/GetAddrInfo.so -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Socket/GetAddrInfo -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Socket -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Socket/GetAddrInfo -@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Socket +%%OLD_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/Socket/GetAddrInfo.pm +%%OLD_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/Socket/GetAddrInfo/Core.pm +%%OLD_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/Socket/GetAddrInfo/Emul.pm +%%OLD_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/Socket/GetAddrInfo/Socket6api.pm +%%OLD_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/Socket/GetAddrInfo/Strict.pm +%%OLD_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/Socket/GetAddrInfo/XS.pm +%%OLD_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Socket/GetAddrInfo/GetAddrInfo.bs +%%OLD_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Socket/GetAddrInfo/GetAddrInfo.so +%%OLD_PERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Socket/GetAddrInfo +%%OLD_PERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Socket +%%OLD_PERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Socket/GetAddrInfo +%%OLD_PERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Socket +%%NEW_PERL%%%%SITE_PERL%%/Socket/GetAddrInfo.pm +%%NEW_PERL%%%%SITE_PERL%%/Socket/GetAddrInfo/Core.pm +%%NEW_PERL%%%%SITE_PERL%%/Socket/GetAddrInfo/Emul.pm +%%NEW_PERL%%%%SITE_PERL%%/Socket/GetAddrInfo/Socket6api.pm +%%NEW_PERL%%%%SITE_PERL%%/Socket/GetAddrInfo/Strict.pm +%%NEW_PERL%%%%SITE_PERL%%/Socket/GetAddrInfo/XS.pm +%%NEW_PERL%%@dirrmtry %%SITE_PERL%%/Socket/GetAddrInfo +%%NEW_PERL%%@dirrmtry %%SITE_PERL%%/Socket
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309061440.r86Eedn7044025>