develooper Front page | perl.perl5.porters | Postings from October 2008

Re: [PATCH] Haiku Port

Thread Previous | Thread Next
From:
Michael G Schwern
Date:
October 29, 2008 03:13
Subject:
Re: [PATCH] Haiku Port
Message ID:
4908360D.4050409@pobox.com
Haiku is BeOS.
It should use MM_BeOS.
Delete the copy.

Less poetically, MM_Haiku appears to be just a copy of MM_BeOS.  Doesn't seem
to be any benefit from a split, so just alter MM.pm so Haiku is recognized as
a BeOS flavor.

--- a/lib/ExtUtils/MM.pm
+++ b/lib/ExtUtils/MM.pm
@@ -58,7 +58,7 @@ if( $^O eq 'MSWin32' ) {
 $Is{UWIN}   = $^O =~ /^uwin(-nt)?$/;
 $Is{Cygwin} = $^O eq 'cygwin';
 $Is{NW5}    = $Config{osname} eq 'NetWare';  # intentional
-$Is{BeOS}   = $^O =~ /beos/i;    # XXX should this be that loose?
+$Is{BeOS}   = $^O =~ /beos/i or $^O eq 'haiku';
 $Is{DOS}    = $^O eq 'dos';
 if( $Is{NW5} ) {
     $^O = 'NetWare';


-- 
24. Must not tell any officer that I am smarter than they are, especially
    if it's true.
    -- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army
           http://skippyslist.com/list/

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About