Date: Tue, 15 Dec 1998 11:17:11 -0500 (EST) From: John Baldwin <jobaldwi@vt.edu> To: Steve Price <sprice@hiwaay.net> Cc: freebsd-ports@FreeBSD.ORG Subject: Re: make index breaks at top level Message-ID: <XFMail.981215111711.jobaldwi@vt.edu> In-Reply-To: <Pine.OSF.4.02.9812150934380.28787-100000@fly.HiWAAY.net>
next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE----- On 15-Dec-98 Steve Price wrote: > On Tue, 15 Dec 1998, John Baldwin wrote: > ># -----BEGIN PGP SIGNED MESSAGE----- ># ># I do have perl5 installed, and I did patch the Makefile to expressly use ># perl5, ># which worked for me. I don't know if it would break elegance, but here is ># the ># simple patch that will let 2.2.x machines with perl5 installed make the ># index. ># It does assume that perl5 is in the path, and I'm not sure that 3.x has a ># /usr/bin/perl5. Oh, well. It's not that big of a deal. ># > [patch elided] > > How about this patch instead? > > Index: make_index > =================================================================== > RCS file: /home/ncvs/ports/templates/make_index,v > retrieving revision 1.1 > diff -u -r1.1 make_index > --- make_index 1998/12/12 07:41:49 1.1 > +++ make_index 1998/12/15 15:33:25 > @@ -9,6 +9,8 @@ > # fixes up the build-depends and run-depends list, and writes > # out the new INDEX file. > > +require 5.002; > + > # Helper function to map a directory to a pkgname. > sub by_path { > my $name = shift; Works for me as it will offer an explanation for any stable users who wonder why it breaks. I just wish perl4 would recognize the line and print out a useful error message. Thanks. - --- John Baldwin <jobaldwi@vt.edu> -- http://members.freedomnet.com/~jbaldwin/ PGP Key: http://members.freedomnet.com/~jbaldwin/pgpkey.asc Committee: A group that keeps minutes and loses hours. -----BEGIN PGP SIGNATURE----- Version: 2.6.2 iQB1AwUBNnaLRojYza302vYpAQFngAL/SU/hhzRBQ0UFiYl7TAYxA/1U3LQqhDs1 Y9GtFeHF8+HxB8/tjWQ60N1ClwK68FmAHQG+kVJ9Xl0YNIwd6UTBp9RvF0oGOUsx 2X6LRxaGDw56MjYuJlJNydr9CwlkFYKA =tzTK -----END PGP SIGNATURE----- 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?XFMail.981215111711.jobaldwi>