ports/103223: [UPDATE]: devel/gengetopt: Update to version 2.17.
Frank J. Laszlo
laszlof at vonostingroup.com
Wed Sep 13 13:30:30 UTC 2006
>Number: 103223
>Category: ports
>Synopsis: [UPDATE]: devel/gengetopt: Update to version 2.17.
>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: Wed Sep 13 13:30:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Frank J. Laszlo
>Release: FreeBSD 5.4-RELEASE-p17 amd64
>Organization:
>Environment:
System: FreeBSD main.vonostingroup.com 5.4-RELEASE-p17 FreeBSD 5.4-RELEASE-p17 #1: Wed Sep 6 12:07:19 CDT 2006 laszlof at main.vonostingroup.com:/usr/obj/usr/src/sys/MAIN amd64
>Description:
This patch updates devel/gengetopt to version 2.17. This version fixes the following bugs and features:
* fixed bug in generating parser where no multiple option is of
type string (reported by Dave Swegen)
* fixed bug: the passed header file extension is used when including the
header file name in the generated C source
* range of occurrences for multiple options
* help and usage strings are generated and accessible (the same that are
printed by --help)
* reduced size for multiple option parsers
* fixed a problem with the internal variable optind with non glibc
version of getopt. (thanks to Gyozo Papp)
* --output-dir command line option (suggested by Gyozo Papp)
* --string-parser generate a parser that interprets a passed string
as command line arguments (suggested by Andre Noll)
>How-To-Repeat:
>Fix:
--- gengetopt-2.17.diff begins here ---
diff -NrU3 gengetopt.orig/Makefile gengetopt/Makefile
--- gengetopt.orig/Makefile Wed Sep 13 07:14:26 2006
+++ gengetopt/Makefile Wed Sep 13 07:37:40 2006
@@ -7,7 +7,7 @@
#
PORTNAME= gengetopt
-PORTVERSION= 2.16
+PORTVERSION= 2.17
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -16,14 +16,12 @@
COMMENT= A tool for generating a C function which parses command line arguments
GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --infodir=${PREFIX}/info --mandir=${PREFIX}/man
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
USE_GMAKE= yes
MAN1= gengetopt.1
INFO= gengetopt
-
-post-patch:
- @${RM} ${WRKSRC}/doc/gengetopt.info
.if defined(NOPORTDOCS)
do-install:
diff -NrU3 gengetopt.orig/distinfo gengetopt/distinfo
--- gengetopt.orig/distinfo Wed Sep 13 07:14:26 2006
+++ gengetopt/distinfo Wed Sep 13 07:39:26 2006
@@ -1,3 +1,3 @@
-MD5 (gengetopt-2.16.tar.gz) = 41192e6266333116c8d33d83b24aea6c
-SHA256 (gengetopt-2.16.tar.gz) = ccea0a3bf648fd3521fd1704272d9b06b9d679237efd76ebc1283a123a2746fa
-SIZE (gengetopt-2.16.tar.gz) = 440226
+MD5 (gengetopt-2.17.tar.gz) = 7cb9f9954df9a68d632db6c9d6305759
+SHA256 (gengetopt-2.17.tar.gz) = 9f4fde53aa25e5e462b7bc396119e124e351da64e596e9b547d2fa79384347de
+SIZE (gengetopt-2.17.tar.gz) = 516455
--- gengetopt-2.17.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list