From owner-svn-ports-all@FreeBSD.ORG Fri Sep 6 14:40:40 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D9DBD8E4; Fri, 6 Sep 2013 14:40:39 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id C72E821DB; Fri, 6 Sep 2013 14:40:39 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r86EedmE044027; Fri, 6 Sep 2013 14:40:39 GMT (envelope-from mat@svn.freebsd.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r86Eedn7044025; Fri, 6 Sep 2013 14:40:39 GMT (envelope-from mat@svn.freebsd.org) Message-Id: <201309061440.r86Eedn7044025@svn.freebsd.org> From: Mathieu Arnold Date: Fri, 6 Sep 2013 14:40:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r326508 - head/net/p5-Socket-GetAddrInfo X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Sep 2013 14:40:40 -0000 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 +.include + +# 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 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