Re: [PATCH] Haiku Port

[email protected] (Michael G Schwern)
Newsgroups perl.perl5.porters,perl.makemaker
Message-ID <[email protected]>
H.Merijn Brand wrote:
> On Wed, 29 Oct 2008 03:09:06 -0700, Michael G Schwern
> <[email protected]> wrote:
> 
>> 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';
> 
> Hmm, I smell precedence error

Thanks.


-- 
I'm pale as formica, social skills stunted small. But I'm accurate
like a pica, I know the capital of nepal. I'm the nemesis of error,
dreadful diction fears my skills, more inquisitive than Jim Lehrer,
snottier than Beverly Hills.
    -- I.L.O.P. Secret Rap  http://goats.com/archive/020830.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.