ports/95420: [PATCH]: devel/gengetopt: Fix info directory problem

Frank Laszlo laszlof at vonostingroup.com
Thu Apr 6 20:03:06 UTC 2006


>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 at 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 at 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
 
+ at direntry
+* GenGetopt: (gengetopt).	A tool for generating a C function which parses command line arguments.
+ at end direntry
+
 @set myhomepage @uref{http://www.lorenzobettini.it}
 
 @ifinfo
--- patch-aa ends here ---

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



More information about the freebsd-ports-bugs mailing list