From owner-freebsd-ports Fri Nov 1 6:10:13 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 19D1637B401 for ; Fri, 1 Nov 2002 06:10:12 -0800 (PST) Received: from heechee.tobez.org (heechee.tobez.org [213.237.10.254]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0EE7B43E75 for ; Fri, 1 Nov 2002 06:10:06 -0800 (PST) (envelope-from tobez@tobez.org) Received: by heechee.tobez.org (Postfix, from userid 1001) id 210B9ABEA; Fri, 1 Nov 2002 15:09:48 +0100 (CET) Date: Fri, 1 Nov 2002 15:09:48 +0100 From: Anton Berezin To: Jun Kuriyama Cc: ports@FreeBSD.org Subject: Re: Strange function definition in _h2ph_pre.ph of lang/perl5 Message-ID: <20021101140948.GB76350@heechee.tobez.org> Mail-Followup-To: Anton Berezin , Jun Kuriyama , ports@FreeBSD.org References: <7mn0otr48d.wl@black.imgsrc.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7mn0otr48d.wl@black.imgsrc.co.jp> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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