From: Rafael Garcia-Suarez <rgarciasuarez@gmail.com>
Date: Tue, 25 Sep 2007 14:28:20 +0000 (+0000)
Subject: Hey, but "or" is low-prec. So this statement never worked.
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=6f8d0260355f8c4ae7955768122638ad99f0ebab;p=p5sagit%2Fp5-mst-13.2.git

Hey, but "or" is low-prec. So this statement never worked.

p4raw-id: //depot/perl@31969
---

diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm
index 7ce004e..0f1048d 100644
--- a/lib/ExtUtils/MM_Unix.pm
+++ b/lib/ExtUtils/MM_Unix.pm
@@ -35,8 +35,7 @@ BEGIN {
     $Is_SunOS4  = $^O eq 'sunos';
     $Is_Solaris = $^O eq 'solaris';
     $Is_SunOS   = $Is_SunOS4 || $Is_Solaris;
-    $Is_BSD     = $^O =~ /^(?:free|net|open)bsd$/ or
-                  $^O eq 'bsdos' or $^O eq 'interix' or $^O eq 'dragonfly';
+    $Is_BSD     = $^O =~ /^(?:(?:free|net|open)bsd|bsdos|interix|dragonfly)$/;
 }
 
 BEGIN {