Subject: pkg/5187: bison pkg doesn't add entry to info directory
To: None <gnats-bugs@gnats.netbsd.org>
From: Jaromir Dolecek <dolecek@ics.muni.cz>
List: netbsd-bugs
Date: 03/23/1998 09:41:37
>Number:         5187
>Category:       pkg
>Synopsis:       bison pkg doesn't add entry to info directory
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Mar 23 00:50:01 1998
>Last-Modified:
>Originator:     Jaromir Dolecek
>Organization:
	ICS MU, Brno, Czech Republic
>Release:        1.3
>Environment:
	
System: NetBSD saruman.ics.muni.cz 1.3 NetBSD 1.3 (SARUMAN) #3: Wed Jan 21 13:29:49 MET 1998 dolecek@saruman.ics.muni.cz:/usr/home/dolecek/N13/usr/src/sys/arch/i386/compile/SARUMAN i386


>Description:
	If one installs bison pkg, appropriate info files are installed
	in ${PREFIX}/info, but there is no entry for bison in info menu.
>How-To-Repeat:
	cd /usr/pkgsrc/devel/bison
	make install
	info
	<notice there is no entry for bison>
>Fix:
	Two patches supplied - one for Makefile.in and the second
	for bison.texinfo. They are separated by XXXX.

XXXX
--- Makefile.in.orig	Mon Mar 23 09:17:47 1998
+++ Makefile.in	Mon Mar 23 09:22:07 1998
@@ -126,8 +126,9 @@
 	$(INSTALL_PROGRAM) bison $(bindir)/bison
 	$(INSTALL_DATA) bison.s1 $(datadir)/$(PFILE)
 	$(INSTALL_DATA) $(srcdir)/$(PFILE1) $(datadir)/$(PFILE1)
 	cd $(srcdir); for f in bison.info*; \
-	do $(INSTALL_DATA) $$f $(infodir)/$$f; done
+	do $(INSTALL_DATA) $$f $(infodir)/$$f; done; \
+	install-info --dir-file=$(infodir)/dir bison.info
 	-$(INSTALL_DATA) $(srcdir)/bison.1 $(mandir)/bison.$(manext)
 
 # Make sure all installation directories, e.g. $(bindir) actually exist by
XXXX
--- bison.texinfo.orig	Mon Mar 23 09:16:35 1998
+++ bison.texinfo	Mon Mar 23 09:17:19 1998
@@ -2,6 +2,10 @@
 @comment %**start of header
 @setfilename bison.info
 @settitle Bison 1.25
+@dircategory Programming & development tools
+@direntry
+* Bison: (bison).               GNU yacc(1) replacement.
+@end direntry
 @setchapternewpage odd
 
 @iftex
XXXX
>Audit-Trail:
>Unformatted: