<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/0ba6c0444d55181e7e59becb2a504c87c75a36a8">https://github.com/macports/macports-ports/commit/0ba6c0444d55181e7e59becb2a504c87c75a36a8</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new 0ba6c04  p5-mail-clamav: Fix build with ClamAV >= 0.100
</span>0ba6c04 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 0ba6c0444d55181e7e59becb2a504c87c75a36a8
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sat Oct 27 14:42:59 2018 -0500

<span style='display:block; white-space:pre;color:#404040;'>    p5-mail-clamav: Fix build with ClamAV >= 0.100
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/57456
</span>---
 perl/p5-mail-clamav/files/patch-Makefile.PL.diff | 30 ++++++++++++++++++++----
 1 file changed, 26 insertions(+), 4 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-mail-clamav/files/patch-Makefile.PL.diff b/perl/p5-mail-clamav/files/patch-Makefile.PL.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 14b350a..67b2564 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/perl/p5-mail-clamav/files/patch-Makefile.PL.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-mail-clamav/files/patch-Makefile.PL.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +1,33 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- Makefile.PL.orig       2009-04-29 12:06:39.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ Makefile.PL    2009-06-16 18:36:00.000000000 -0700
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -31,7 +31,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix detection of macOS.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://rt.cpan.org/Public/Bug/Display.html?id=47022
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix faulty ClamAV version detection.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://svnweb.freebsd.org/ports/head/mail/p5-Mail-ClamAV/files/patch-Makefile.PL?revision=467528&view=markup&pathrev=467528
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Makefile.PL.orig       2009-04-29 14:06:39.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Makefile.PL    2018-10-27 12:26:47.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2,6 +2,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use lib '.';
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use Inline::MakeMaker; # bundled
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++use version;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see ExtUtils::MY documentation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sub MY::top_targets {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -31,7 +32,7 @@
</span>      solaris => 'solaris',
      freebsd => 'freebsd',
      openbsd => 'openbsd',
 -    macos => 'MacOS',
<span style='display:block; white-space:pre;background:#ffe0e0;'>-+    darwin => 'Mac OS X',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    darwin => 'macOS',
</span>      netbsd => 'netbsd',    # NetBSD isn't listed on the web page, if it fails I'll remove it later.
  );
  
<span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -51,7 +52,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     my $clver = get_cl_version();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-    return warn_cl_version_bad() if $clver lt $minclversion;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++    return warn_cl_version_bad() if ( version->parse($clver) < version->parse($minclversion) );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     my $inc = get_cl_inc_paths();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     my $libs = get_cl_libs();
</span></pre><pre style='margin:0'>

</pre>