Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Nov 2002 15:09:48 +0100
From:      Anton Berezin <tobez@FreeBSD.org>
To:        Jun Kuriyama <kuriyama@imgsrc.co.jp>
Cc:        ports@FreeBSD.org
Subject:   Re: Strange function definition in _h2ph_pre.ph of lang/perl5
Message-ID:  <20021101140948.GB76350@heechee.tobez.org>
In-Reply-To: <7mn0otr48d.wl@black.imgsrc.co.jp>
References:  <7mn0otr48d.wl@black.imgsrc.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 01, 2002 at 07:09:22PM +0900, Jun Kuriyama wrote:
> 
> On my system (5-current),
> /usr/local/lib/perl5/site_perl/5.6.1/mach/_h2ph_pre.ph has these
> lines:
> 
> unless (defined &-Acpu) { sub -Acpu() { &i386 } }
> unless (defined &-Amachine) { sub -Amachine() { &i386 } }
> unless (defined &-Asystem) { sub -Asystem() { &unix } }
> 
> But it seems these functions are not supposed to be here like this.
> 
> Is this h2ph's bug?

Sort of - it is induced by gcc - please see

   http://archive.develooper.com/perl5-porters@perl.org/msg79350.html

I am committing a patch shortly.

=Anton.
-- 
| Anton Berezin                |      FreeBSD: The power to serve |
| catpipe Systems ApS   _ _ |_ |           http://www.FreeBSD.org |
| tobez@catpipe.net    (_(_||  |                tobez@FreeBSD.org | 
| +45 7021 0050                |         Private: tobez@tobez.org |

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021101140948.GB76350>