From 30365fa07ba17032496b6e1ea31556998902998c Mon Sep 17 00:00:00 2001 From: sahil Date: Sun, 27 Nov 2011 05:55:22 +0000 Subject: - Correct PLIST for PERL_LEVEL >= 501400 PR: ports/162875 Submitted by: sunpoet Feature safe: yes --- net/p5-Socket-GetAddrInfo/Makefile | 6 ++++++ net/p5-Socket-GetAddrInfo/pkg-plist | 25 ++++++++++++++++--------- 2 files changed, 22 insertions(+), 9 deletions(-) (limited to 'net') diff --git a/net/p5-Socket-GetAddrInfo/Makefile b/net/p5-Socket-GetAddrInfo/Makefile index c7bffee601cf..19119929d706 100644 --- a/net/p5-Socket-GetAddrInfo/Makefile +++ b/net/p5-Socket-GetAddrInfo/Makefile @@ -31,4 +31,10 @@ PERL_CONFIGURE= yes BUILD_DEPENDS+= p5-Module-Build>=0:${PORTSDIR}/devel/p5-Module-Build .endif +.if ${PERL_LEVEL} < 501400 +PLIST_SUB+= OLD_PERL="" NEW_PERL="@comment " +.else +PLIST_SUB+= OLD_PERL="@comment " NEW_PERL="" +.endif + .include diff --git a/net/p5-Socket-GetAddrInfo/pkg-plist b/net/p5-Socket-GetAddrInfo/pkg-plist index 56d56f8e3a79..4bbc48682fdd 100644 --- a/net/p5-Socket-GetAddrInfo/pkg-plist +++ b/net/p5-Socket-GetAddrInfo/pkg-plist @@ -1,14 +1,21 @@ 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/XS.pm +%%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/XS.pm +%%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/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 +%%OLD_PERL%%%%SITE_PERL%%/%%PERL_ARCH%%/auto/Socket/GetAddrInfo/GetAddrInfo.bs +%%OLD_PERL%%%%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%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Socket/GetAddrInfo +%%OLD_PERL%%@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/Socket +%%NEW_PERL%%@dirrmtry %%SITE_PERL%%/Socket/GetAddrInfo +%%NEW_PERL%%@dirrmtry %%SITE_PERL%%/Socket \ No newline at end of file -- cgit