Subject: pkg/12227: Some mistakes in Package.txt
To: None <gnats-bugs@gnats.netbsd.org>
From: None <yyamano@kt.rim.or.jp>
List: netbsd-bugs
Date: 02/17/2001 00:16:09
>Number:         12227
>Category:       pkg
>Synopsis:       Some mistakes in Package.txt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 16 07:21:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Yuji Yamano
>Release:        NetBSD-current
>Organization:
>Environment:
System: NetBSD bigfoot 1.5_ALPHA NetBSD 1.5_ALPHA (BIGFOOT) #3: Sat Jul 15 00:23:42 JST 2000 yyamano@bigfoot:/usr/src/sys/arch/i386/compile/BIGFOOT i386
>Description:

I found some mistakes in Packages.txt.

- missing `:'.
- wrong number of steps. I think we have seven steps.
- needless `and'
- meaningless null lines.

>How-To-Repeat:

>Fix:

Here is the patch for rev 1.139.

--- Packages.txt	Fri Feb 16 21:59:13 2001
+++ /tmp/Packages.txt	Fri Feb 16 23:43:48 2001
@@ -668,7 +668,7 @@
    delete the files created in the original distribution. See pkg_delete(1)
    and pkg_create(1) for more information.
 
- * pkg/MESSAGE
+ * pkg/MESSAGE:
    Display this file after installation of the package.
    Useful for things like legal notices on almost-free software,
    etc.
@@ -850,7 +850,7 @@
 libraries from a set our source files, thus being platform
 independent. 
 
-Here's how to use libtool in a pkg in six simple steps:
+Here's how to use libtool in a pkg in seven simple steps:
 
 1. Add USE_LIBTOOL= yes to the package Makefile.
 
@@ -1178,8 +1178,7 @@
    then current versions of the corresponding packages get compiled and
    installed.  This is similar to manually noting which packages are
    currently installed, then performing a series of "make deinstall" and
-   and "make install" (or whatever DEPENDS_TARGET is set to) for these
-   packages.
+   "make install" (or whatever DEPENDS_TARGET is set to) for these packages.
 
    You can use the "update" target to resume package updating in case a
    previous "make update" was interrupted for some reason.  However, in
@@ -1984,8 +1983,6 @@
 > cc -c -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MEMORY_H=1 -DHAVE_ALLOCA=1 -DHAVE_STRERROR=1 -I./../include  -g getopt.c
 > cc -c -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_STDLIB_H=1 -DHAVE_MEMORY_H=1 -DHAVE_ALLOCA=1 -DHAVE_STRERROR=1 -I./../include  -g getopt1.c
 > cc  -g -o bison LR0.o allocate.o closure.o conflicts.o derives.o files.o         getargs.o gram.o lalr.o lex.o                                   main.o nullable.o output.o print.o reader.o reduce.o symtab.o   warshall.o version.o                        
-
-
                     getopt.o getopt1.o  
 > ./files.c:240: warning: mktemp() possibly used unsafely, consider using mkstemp()
 > rm -f bison.s1

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