Date: Mon, 20 Apr 2015 17:19:25 +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: r384371 - head/mail/bsmtp/files Message-ID: <201504201719.t3KHJPdU067331@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mat Date: Mon Apr 20 17:19:24 2015 New Revision: 384371 URL: https://svnweb.freebsd.org/changeset/ports/384371 Log: Fix with Perl 5.21.1+. "defined(@array)" and "defined(%hash)" are now fatal errors These have been deprecated since v5.6.1 and have raised deprecation warnings since v5.16. With hat: perl@ Sponsored by: Absolight Modified: head/mail/bsmtp/files/patch-configure (contents, props changed) Modified: head/mail/bsmtp/files/patch-configure ============================================================================== --- head/mail/bsmtp/files/patch-configure Mon Apr 20 17:10:31 2015 (r384370) +++ head/mail/bsmtp/files/patch-configure Mon Apr 20 17:19:24 2015 (r384371) @@ -1,8 +1,5 @@ - -$FreeBSD$ - ---- configure.orig 2013-11-01 19:55:42.000000000 +0100 -+++ configure 2013-11-01 19:55:42.000000000 +0100 +--- configure.orig 2015-04-20 17:10:57 UTC ++++ configure @@ -41,6 +41,11 @@ if ($#ARGV == 0) { "batcher", "batcher.c", @@ -15,6 +12,24 @@ $FreeBSD$ "bsmtp.m4.8.9", "bsmtp.m4.8.8", "bsmtp.m4.8.7", +@@ -146,7 +151,7 @@ if (! $redo) { + } + } + } elsif ($macro eq "\@DAEMONUID\@") { +- if (! defined @getpwnam) { ++ if (! @getpwnam) { + if (! defined $value{'@DAEMONUSER@'}) { + die "\@DAEMONUSER\@ must be defined before \@DAEMONUID\@\n"; + } +@@ -158,7 +163,7 @@ if (! $redo) { + ($name, $_, $uid, $_, $_, $_, $_, $_, $_) = @getpwnam; + $default[$i] = $uid; + } elsif ($macro eq "\@DAEMONGID\@") { +- if (! defined @getpwnam) { ++ if (! @getpwnam) { + if (! defined $value{'@DAEMONUSER@'}) { + die "\@DAEMONUSER\@ must be defined before \@DAEMONUID\@\n"; + } @@ -198,6 +203,16 @@ if (! $redo) { $default[$i] = '8.8'; } elsif ($value{'@SENDMAILVERS@'} =~ /^\s*8\.9(\..*)?\s*$/) {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504201719.t3KHJPdU067331>