summaryrefslogtreecommitdiff
path: root/devel/gperf
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2003-12-03 15:56:16 +0000
committeradam <adam@pkgsrc.org>2003-12-03 15:56:16 +0000
commitce13bf58484455797b1237ac9420a54afebadebb (patch)
treeb3b310da7719f34ae6bb25b8f9847aed202c1738 /devel/gperf
parent0b0661d3575db761f8b24931bbd307669b1450ac (diff)
downloadpkgsrc-ce13bf58484455797b1237ac9420a54afebadebb.tar.gz
New in 3.0.1:
* Bug fix. New in 3.0: * Added option --output that allows to specify the output file name. * Some options have been renamed: --hash-fn-name=NAME --> --hash-function-name=NAME --lookup-fn-name=NAME --> --lookup-function-name=NAME --compare-strlen --> --compare-lengths --global --> --global-table The older variants are still supported for backward compatibility. * New options can now be specified inside the input file: --> see "NEWS" * When the option -k is not given, the default key positions are now computed depending on the set of keywords. * If the input file is given by name, the output file will now contain #line directives referring to the input file. * Some keyword sets containing permutations, like { "xy", "yx", "xz", "zx" } or { "abc", "acb", "bca", "cab" }, are now handled by gperf without requiring the option -D. * The generated table is usually much smaller than it was with earlier versions of gperf. * Added option -m/--multiple-iterations that allows to further reduce the size of the generated table. * When the search for a good hash function is not immediately successful, the table's size will grow as needed. Earlier versions of gperf bailed out with an "Internal error, duplicate hash code value". * The options -f/--fast and -o/--occurrence-sort have no effect any more. * Added options -P/--pic and --null-strings that optimize the generated code for use in shared libraries. -P/--pic does a perfect optimization but may require some small code changes (see the documentation for details), whereas --null-strings does only a half-hearted optimization but works without needing any change to surrounding code. * Added option --ignore-case that produces a case independent lookup function. * Bug fixes
Diffstat (limited to 'devel/gperf')
-rw-r--r--devel/gperf/Makefile13
-rw-r--r--devel/gperf/PLIST4
-rw-r--r--devel/gperf/distinfo8
-rw-r--r--devel/gperf/patches/patch-aa19
4 files changed, 24 insertions, 20 deletions
diff --git a/devel/gperf/Makefile b/devel/gperf/Makefile
index 3ce1504fbac..036a22ae6a5 100644
--- a/devel/gperf/Makefile
+++ b/devel/gperf/Makefile
@@ -1,15 +1,18 @@
-# $NetBSD: Makefile,v 1.14 2003/11/03 17:59:28 gavan Exp $
+# $NetBSD: Makefile,v 1.15 2003/12/03 15:56:16 adam Exp $
#
-DISTNAME= gperf-2.7.2
+DISTNAME= gperf-3.0.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU:=gperf/}
MAINTAINER= tech-pkg@NetBSD.org
+HOMEPAGE= http://www.gnu.org/software/gperf/gperf.html
COMMENT= GNU perfect hash function generator
-GNU_CONFIGURE= yes
-USE_GCC_SHLIB= yes
-INFO_FILES= gperf.info
+USE_GCC_SHLIB= YES
+GNU_CONFIGURE= YES
+CONFIGURE_ARGS+= --mandir="${PREFIX}/man"
+
+INFO_FILES= gperf.info
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/gperf/PLIST b/devel/gperf/PLIST
index 5eea7537d40..b793efde185 100644
--- a/devel/gperf/PLIST
+++ b/devel/gperf/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2003/06/23 11:06:23 seb Exp $
+@comment $NetBSD: PLIST,v 1.4 2003/12/03 15:56:16 adam Exp $
bin/gperf
info/gperf.info
-man/man1/gperf.1.gz
+man/man1/gperf.1
diff --git a/devel/gperf/distinfo b/devel/gperf/distinfo
index 572678f819c..fbc8c3649cf 100644
--- a/devel/gperf/distinfo
+++ b/devel/gperf/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.3 2003/06/23 11:06:23 seb Exp $
+$NetBSD: distinfo,v 1.4 2003/12/03 15:56:16 adam Exp $
-SHA1 (gperf-2.7.2.tar.gz) = a8a096093d9f94650bac1e90c8c8bccf49529444
-Size (gperf-2.7.2.tar.gz) = 450996 bytes
-SHA1 (patch-aa) = e54de8ba488ed99601526f8288a48864e59139f6
+SHA1 (gperf-3.0.1.tar.gz) = c4453ee492032b369006ee464f4dd4e2c0c0e650
+Size (gperf-3.0.1.tar.gz) = 842501 bytes
+SHA1 (patch-aa) = 16c3d66bd8c6cdaa91c58b0624a9e4c97cfef8ca
diff --git a/devel/gperf/patches/patch-aa b/devel/gperf/patches/patch-aa
index 265991c12c2..77ca2a8910e 100644
--- a/devel/gperf/patches/patch-aa
+++ b/devel/gperf/patches/patch-aa
@@ -1,19 +1,19 @@
-$NetBSD: patch-aa,v 1.4 2003/06/23 11:06:24 seb Exp $
+$NetBSD: patch-aa,v 1.5 2003/12/03 15:56:16 adam Exp $
---- doc/Makefile.in.orig 2000-09-26 11:32:31.000000000 +0000
+--- doc/Makefile.in.orig 2003-06-02 13:42:02.000000000 +0200
+++ doc/Makefile.in
-@@ -44,7 +44,6 @@ RM = rm -f
- TEX = tex
+@@ -49,7 +49,6 @@ TEX = tex
TEXI2DVI = texi2dvi
DVIPS = dvips -D600
+ TEXI2PDF = texi2pdf
-MAKEINFO = LANG= LANGUAGE= makeinfo
TEXI2HTML = texi2html
# Programs used by "make install":
-@@ -101,15 +100,15 @@ install : all force
- # $(INSTALL_DATA) $(srcdir)/gperf.dvi $(DESTDIR)$(dvidir)/gperf.dvi
- # $(MKINSTALLDIRS) $(DESTDIR)$(psdir)
- # $(INSTALL_DATA) $(srcdir)/gperf.ps $(DESTDIR)$(dvidir)/gperf.ps
+@@ -116,8 +115,8 @@ install : all force
+ # $(INSTALL_DATA) $(srcdir)/gperf.ps $(DESTDIR)$(psdir)/gperf.ps
+ # $(MKINSTALLDIRS) $(DESTDIR)$(pdfdir)
+ # $(INSTALL_DATA) $(srcdir)/gperf.pdf $(DESTDIR)$(pdfdir)/gperf.pdf
- $(MKINSTALLDIRS) $(DESTDIR)$(htmldir)
- $(INSTALL_DATA) $(srcdir)/gperf.html $(DESTDIR)$(htmldir)/gperf.html
+# $(MKINSTALLDIRS) $(DESTDIR)$(htmldir)
@@ -21,9 +21,10 @@ $NetBSD: patch-aa,v 1.4 2003/06/23 11:06:24 seb Exp $
installdirs : force
$(MKINSTALLDIRS) $(DESTDIR)$(infodir)
- $(MKINSTALLDIRS) $(DESTDIR)$(man1dir)
+@@ -125,7 +124,7 @@ installdirs : force
# $(MKINSTALLDIRS) $(DESTDIR)$(dvidir)
# $(MKINSTALLDIRS) $(DESTDIR)$(psdir)
+ # $(MKINSTALLDIRS) $(DESTDIR)$(pdfdir)
- $(MKINSTALLDIRS) $(DESTDIR)$(htmldir)
+# $(MKINSTALLDIRS) $(DESTDIR)$(htmldir)