From owner-freebsd-ports Mon Jun 3 16:50:22 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8AA4837B401 for ; Mon, 3 Jun 2002 16:50:06 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g53No6R73196; Mon, 3 Jun 2002 16:50:06 -0700 (PDT) (envelope-from gnats) Date: Mon, 3 Jun 2002 16:50:06 -0700 (PDT) Message-Id: <200206032350.g53No6R73196@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: John Merryweather Cooper Subject: Re: ports/38859: lang/gnat-doc-info: fix install Reply-To: John Merryweather Cooper 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 The following reply was made to PR ports/38859; it has been noted by GNATS. From: John Merryweather Cooper To: "Sergey A.Osokin" Cc: "FreeBSD-gnats-submit@freebsd.org" Subject: Re: ports/38859: lang/gnat-doc-info: fix install Date: 03 Jun 2002 16:47:06 -0700 On Mon, 2002-06-03 at 07:55, Sergey A.Osokin wrote: > > >Number: 38859 > >Category: ports > >Synopsis: lang/gnat-doc-info: fix install > >Confidential: no > >Severity: serious > >Priority: medium > >Responsible: freebsd-ports > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: update > >Submitter-Id: current-users > >Arrival-Date: Mon Jun 03 08:00:13 PDT 2002 > >Closed-Date: > >Last-Modified: > >Originator: Sergey A. Osokin > >Release: FreeBSD 4.6-RC i386 > >Organization: > n/a > >Environment: > FreeBSD 4.6-RC i386 > > >Description: > fix install lang/gnat-doc-info > only if /usr/share/info/dir present, we make a /usr/local/info/dir > >How-To-Repeat: > http://bento.freebsd.org/errorlogs/4-full/gnat-doc-info-3.14p.log > >Fix: > > > Index: ports/lang/gnat-doc-html/Makefile > =================================================================== > RCS file: /home/ncvs/ports/lang/gnat-doc-html/Makefile,v > retrieving revision 1.3 > diff -r1.3 Makefile > 63c63 > < @if [ ! -f ${PREFIX}/info/dir ]; then \ > --- > > @if [ -f \/usr\/share\/info/dir -a -f ${PREFIX}/info/dir ]; then \ > >Release-Note: > >Audit-Trail: > >Unformatted: > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message Actually, this port (in line with a number of other ports that install GNU info doc) assumes that /usr/info/dir exists. The failure point, which occurs ONLY on bento, is that /usr/info/dir DOES NOT exist on bento. This port uses /usr/info/dir to create an a stub dir file in /usr/local/info if one does not exist (using sed). One way to fix this for bento would be to carry the dir-stub file in files/ for each port. Provided GNU info doesn't substantially change the header between versions anytime soon, this will work. Alternately, bento could provide or simulate a /usr/info/dir. Which way does portmgr want to do it? -- _ | |V| / ' || MacroHard -- \ \_| | | \_, || the perfection of form over | ----------------------------------|| substance, marketing over | Web: http://www.borgsdemons.com || performance, and greed over | AIM: johnmcooper || design . . . | =====================================================================/ Public Key: http://www.borgsdemons.com/Personal/pgpkey.asc | =====================================================================\ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message