Subject: pkg/23141: defs.IRIX.mk failed on typo
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <v.oostveen@hccnet.nl>
List: netbsd-bugs
Date: 10/13/2003 00:06:15
>Number:         23141
>Category:       pkg
>Synopsis:       defs.IRIX.mk failed on typo
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 13 00:07:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Bas van Oostveen
>Release:        pkgsrc for irix
>Organization:
na
>Environment:
IRIX washu 6.5 6.5.17m 07121149 IP32
>Description:
defs.IRIX.mk: 134 containts the following error

running pkg_chk -i (or any other package tool)

bmake: "/usr/pkgsrc/pkgtools/pkgchk/../../mk/defs.IRIX.mk" line 134: Need an operator
bmake: "../../mk/../../mk/bsd.prefs.mk" line 425: if-less endif
bmake: "../../mk/../../mk/bsd.prefs.mk" line 425: Need an oprator
bmake: Fatal errors encountered -- cannot continue

this all is cased by a very small type on line 134 of defs.IRIX.mk in pkgsrc-current.

the .if defined(_OPSYS_GPATCH_REQD) && ${_OPSYS_GPATCH_REQD} == "YES"
doesnt start with a . at shown above
>How-To-Repeat:

>Fix:
vi /usr/pkgsrc/mk/defs.IRIX.mk
:134
I.^esc:wq

(or just at a "." in front of line 134 :)
>Release-Note:
>Audit-Trail:
>Unformatted: