Date: Mon, 3 Jun 2002 16:50:06 -0700 (PDT) From: John Merryweather Cooper <jmcoopr@webmail.bmi.net> To: freebsd-ports@FreeBSD.org Subject: Re: ports/38859: lang/gnat-doc-info: fix install Message-ID: <200206032350.g53No6R73196@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/38859; it has been noted by GNATS. From: John Merryweather Cooper <jmcoopr@webmail.bmi.net> To: "Sergey A.Osokin" <osa@FreeBSD.org.ru> Cc: "FreeBSD-gnats-submit@freebsd.org" <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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206032350.g53No6R73196>