aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsahil <sahil@FreeBSD.org>2011-11-27 13:55:22 +0800
committersahil <sahil@FreeBSD.org>2011-11-27 13:55:22 +0800
commit30365fa07ba17032496b6e1ea31556998902998c (patch)
tree850358d0238ba1cb6c3a6a67442c013b31e4bf04 /net
parent0813c8c672ac759e43e9a6339cdee0fa1ec74a85 (diff)
downloadfreebsd-ports-gnome-30365fa07ba17032496b6e1ea31556998902998c.tar.gz
freebsd-ports-gnome-30365fa07ba17032496b6e1ea31556998902998c.tar.zst
freebsd-ports-gnome-30365fa07ba17032496b6e1ea31556998902998c.zip
- Correct PLIST for PERL_LEVEL >= 501400
PR: ports/162875 Submitted by: sunpoet Feature safe: yes
Diffstat (limited to 'net')
-rw-r--r--net/p5-Socket-GetAddrInfo/Makefile6
-rw-r--r--net/p5-Socket-GetAddrInfo/pkg-plist25
2 files changed, 22 insertions, 9 deletions
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 <bsd.port.post.mk>
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