Stop complaining about missing 'fetch' if not on FreeBSD


git-svn-id: https://svn.apache.org/repos/asf/spamassassin/trunk@1889399 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/Mail/SpamAssassin/Util/DependencyInfo.pm b/lib/Mail/SpamAssassin/Util/DependencyInfo.pm
index 136491d..a6aa152 100644
--- a/lib/Mail/SpamAssassin/Util/DependencyInfo.pm
+++ b/lib/Mail/SpamAssassin/Util/DependencyInfo.pm
@@ -344,14 +344,6 @@
   version_check_regex => 'curl ([\d\.]*)',
   desc => $lwp_note,
 },
-#Fetch is a FreeBSD Product. We do not believe it has any way to check the version from
-#the command line.  It has been tested with FreeBSD version 8 through 9.1.
-{
-  binary => 'fetch',
-  version => '0',
-  
-  desc => $lwp_note,
-},
 {
   binary => 're2c',
   version => '0',
@@ -361,6 +353,16 @@
 }
 );
 
+#Fetch is a FreeBSD Product. We do not believe it has any way to check the version from
+#the command line.  It has been tested with FreeBSD version 8 through 9.1.
+if ($^O eq 'freebsd') {
+  push @OPTIONAL_BINARIES, {
+    binary => 'fetch',
+    version => '0',
+    desc => $lwp_note,
+  };
+}
+
 ###########################################################################
 
 =head1 METHODS