From owner-freebsd-ports Tue Dec 15 08:17:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id IAA13390 for freebsd-ports-outgoing; Tue, 15 Dec 1998 08:17:20 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from quackerjack.cc.vt.edu (quackerjack.cc.vt.edu [198.82.160.250]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id IAA13385 for ; Tue, 15 Dec 1998 08:17:19 -0800 (PST) (envelope-from jobaldwi@vt.edu) Received: from sable.cc.vt.edu (sable.cc.vt.edu [128.173.16.30]) by quackerjack.cc.vt.edu (8.8.8/8.8.8) with ESMTP id LAA26530; Tue, 15 Dec 1998 11:17:13 -0500 (EST) Received: from john.baldwinfamily.org (jobaldwi.campus.vt.edu [198.82.67.63]) by sable.cc.vt.edu (8.8.8/8.8.8) with ESMTP id LAA05962; Tue, 15 Dec 1998 11:17:12 -0500 (EST) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Tue, 15 Dec 1998 11:17:11 -0500 (EST) Reply-To: jobaldwi@vt.edu Organization: Virginia Tech From: John Baldwin To: Steve Price Subject: Re: make index breaks at top level Cc: freebsd-ports@FreeBSD.ORG Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org -----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 -- 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