svn commit: r426829 - in head/mail/p5-Mail-Alias: . files

Mathieu Arnold mat at FreeBSD.org
Tue Nov 22 15:04:30 UTC 2016


Author: mat
Date: Tue Nov 22 15:04:29 2016
New Revision: 426829
URL: https://svnweb.freebsd.org/changeset/ports/426829

Log:
  Fix with Perl 5.22+
  
  Using defined(@array) was deprecated in 1999 for Perl 5.6, and removed
  in 2014 for 5.22.
  
  PR:		214617
  Reported by:	takeda takeda tk
  Sponsored by:	Absolight

Added:
  head/mail/p5-Mail-Alias/files/
  head/mail/p5-Mail-Alias/files/patch-Alias.pm   (contents, props changed)
Modified:
  head/mail/p5-Mail-Alias/Makefile   (contents, props changed)

Modified: head/mail/p5-Mail-Alias/Makefile
==============================================================================
--- head/mail/p5-Mail-Alias/Makefile	Tue Nov 22 14:41:53 2016	(r426828)
+++ head/mail/p5-Mail-Alias/Makefile	Tue Nov 22 15:04:29 2016	(r426829)
@@ -3,7 +3,7 @@
 
 PORTNAME=	Mail-Alias
 PORTVERSION=	1.12
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	mail perl5
 MASTER_SITES=	CPAN
 PKGNAMEPREFIX=	p5-

Added: head/mail/p5-Mail-Alias/files/patch-Alias.pm
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/mail/p5-Mail-Alias/files/patch-Alias.pm	Tue Nov 22 15:04:29 2016	(r426829)
@@ -0,0 +1,11 @@
+--- Alias.pm.orig	2016-11-22 14:55:19 UTC
++++ Alias.pm
+@@ -82,7 +82,7 @@ sub format {
+  my $pkg = "Mail::Alias::" . $fmt;
+ 
+  croak "Unknown format '$fmt'"
+-  unless defined @{$pkg . "::ISA"};
++  unless @{$pkg . "::ISA"};
+ 
+  bless $me, $pkg;
+ }


More information about the svn-ports-all mailing list