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

Re: [PATCH] Haiku Port

Thread Previous | Thread Next
Michael G Schwern
October 29, 2008 03:13
Re: [PATCH] Haiku Port
Message ID:
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 so Haiku is recognized as
a BeOS flavor.

--- a/lib/ExtUtils/
+++ b/lib/ExtUtils/
@@ -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

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About