Subject: | allow build of mail::clamav on Mac OS X |
Mail::ClamAV fails to build on Mac OS X because it attempts to detect the OS as 'macos', though
the OS is actually 'darwin'. Attached patch resolved this problem for me (against 0.29).
Subject: | patch-Makefile.PL.diff |
--- Makefile.PL.orig 2009-04-29 12:06:39.000000000 -0700
+++ Makefile.PL 2009-06-16 18:36:00.000000000 -0700
@@ -31,7 +31,7 @@
solaris => 'solaris',
freebsd => 'freebsd',
openbsd => 'openbsd',
- macos => 'MacOS',
+ darwin => 'Mac OS X',
netbsd => 'netbsd', # NetBSD isn't listed on the web page, if it fails I'll remove it later.
);