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 14:30
Subject:
Re: [PATCH] Haiku Port
Message ID:
4908D5D1.3000808@pobox.com
H.Merijn Brand wrote:
> On Wed, 29 Oct 2008 03:09:06 -0700, Michael G Schwern
> <schwern@pobox.com> 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

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