Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 06 Apr 2006 13:21:19 -0400
From:      Frank Laszlo <laszlof@vonostingroup.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/95420: [PATCH]: devel/gengetopt: Fix info directory problem
Message-ID:  <E1FRYAZ-000Cbm-9r@ritamari.vonostingroup.com>
Resent-Message-ID: <200604061750.k36HoG35033584@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         95420
>Category:       ports
>Synopsis:       [PATCH]: devel/gengetopt: Fix info directory problem
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 06 17:50:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Frank Laszlo
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD ritamari.vonostingroup.com 6.0-STABLE FreeBSD 6.0-STABLE #0: Mon Nov 7 12:06:15 EST 2005 laszlof@ritamari.vonostingroup.com:/usr/obj/usr/src/sys/RITAMARI i386


	
>Description:
	There is a small typo in devel/gengetopt that causes it to not properly uninstall the info directory entry. It
	is missing a ":" after the name in the patch within the files/ dir. Please replace the patch with the one
	attach, It contains the following line change:

	Old line:

	+* GenGetopt (gengetopt).      A tool for generating a C function which parses command line arguments.

	New Line:

	+* GenGetopt: (gengetopt).      A tool for generating a C function which parses command line arguments.


	Without the colon, install-info is unable to remove it from ${PREFIX}/info/dir on uninstall.

	Thanks to Robert Huff (roberthuff@rcn.com) for pointing this out.

>How-To-Repeat:
	cd /usr/ports/devel/gengetopt && make install clean
	make deinstall

	will return the following error:

	===>   Deinstalling gengetopt-2.16
	install-info: warning: no entries found for `/usr/local/info/gengetopt.info'; nothing deleted
	
>Fix:

	



--- patch-aa begins here ---
--- doc/gengetopt.texinfo.orig	Thu Dec 15 13:54:45 2005
+++ doc/gengetopt.texinfo	Thu Dec 15 13:58:26 2005
@@ -26,6 +26,10 @@
 @c @setchapternewpage odd
 @c %**end of header
 
+@direntry
+* GenGetopt: (gengetopt).	A tool for generating a C function which parses command line arguments.
+@end direntry
+
 @set myhomepage @uref{http://www.lorenzobettini.it}
 
 @ifinfo
--- patch-aa ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1FRYAZ-000Cbm-9r>