From owner-freebsd-ports Sun Sep 15 13:43:31 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 4597537B400 for ; Sun, 15 Sep 2002 13:43:29 -0700 (PDT) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A56143E72 for ; Sun, 15 Sep 2002 13:43:28 -0700 (PDT) (envelope-from marcus@marcuscom.com) Received: from shumai.marcuscom.com (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.12.5/8.12.5) with ESMTP id g8FKeXiv040469; Sun, 15 Sep 2002 16:40:33 -0400 (EDT) (envelope-from marcus@marcuscom.com) Subject: Re: [alane@geeksrus.net: autoconf-2.53's autoscan does not work with perl 5.8.] From: Joe Marcus Clarke To: alane@geeksrus.net Cc: FreeBSD Ports List In-Reply-To: <20020915195600.GA36110@wwweasel.geeksrus.net> References: <20020915195600.GA36110@wwweasel.geeksrus.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-Zdo1vjwp9KxbVlj5k72v" X-Mailer: Ximian Evolution 1.0.8 Date: 15 Sep 2002 16:43:46 -0400 Message-Id: <1032122626.92830.24.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Spam-Status: No, hits=-6.5 required=5.0 tests=IN_REP_TO,PGP_SIGNATURE_2,DOUBLE_CAPSWORD,PGP_SIGNATURE,AWL version=2.31 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 --=-Zdo1vjwp9KxbVlj5k72v Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2002-09-15 at 15:56, AlanE wrote: > ----- Forwarded message from AlanE ----- > Urk. Seems it needs 5.00503. Didn't try 5.6. How does this work in > current? Anybody wanna test it for me? >=20 > ----- End forwarded message ----- >=20 > Seems as I was wrong there. It's just borked. period. Any perl gurus > out there that can take a look and see if you can come up with a patch? >=20 > /uae/local/bin/autoscan dies at line 195 because $where is undef. It works fine for me in -stable and -CURRENT with Perl 5.6.1. How are you running it? I just cd'd to a directory containing configure.in, and ran autoscan. The report looked accurate, and I received no Perl compilation errors. The code looks fine. It declares $where as a local variable pointing to the third argument of the function used(). Of course, a problem may occur if the optional third argument isn't passed, and File::Find is referenced. This line is a little iffy. While it should work, I don't like to mix variables in quotes that way. Try changing it to: $where ||=3D $File::Find::name . ":" . $.; And see if that makes a difference. Joe >=20 > --=20 > Alan Eldridge > Unix/C(++) IT Pro, 20 yrs, seeking new employment. > (http://wwweasel.geeksrus.net/~alane/resume.txt) > KDE, KDE-FreeBSD Teams (http://www.kde.org, http://freebsd.kde.org/) >=20 > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message >=20 --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-Zdo1vjwp9KxbVlj5k72v Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQA9hPECb2iPiv4Uz4cRAqwTAJ4+hwKAf41xMYfOtwRRYnyhwY48eACfbrnF RmffYp98IMPR5/5UBe86F5M= =+xPf -----END PGP SIGNATURE----- --=-Zdo1vjwp9KxbVlj5k72v-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message