Date: 15 Sep 2002 16:43:46 -0400 From: Joe Marcus Clarke <marcus@marcuscom.com> To: alane@geeksrus.net Cc: FreeBSD Ports List <ports@FreeBSD.ORG> Subject: Re: [alane@geeksrus.net: autoconf-2.53's autoscan does not work with perl 5.8.] Message-ID: <1032122626.92830.24.camel@shumai.marcuscom.com> In-Reply-To: <20020915195600.GA36110@wwweasel.geeksrus.net> References: <20020915195600.GA36110@wwweasel.geeksrus.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-Zdo1vjwp9KxbVlj5k72v Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2002-09-15 at 15:56, AlanE wrote: > ----- Forwarded message from AlanE <alane@geeksrus.net> ----- > 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1032122626.92830.24.camel>