Subject: pkg/8908: pkgsrc/editors/vim problem
To: None <gnats-bugs@gnats.netbsd.org>
From: None <wiz@danbala.ifoer.tuwien.ac.at>
List: netbsd-bugs
Date: 11/28/1999 12:51:36
>Number:         8908
>Category:       pkg
>Synopsis:       make in pkgsrc/editors/vim fails
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 28 12:50:59 1999
>Last-Modified:
>Originator:     Wiz
>Organization:
>Release:        NetBSD-1.4.1/i386, pkgsrc 1999/11/28
>Environment:
	
System: NetBSD hiro.xon.net 1.4.1 NetBSD 1.4.1 (HIRO) #7: Mon Nov 22 12:07:06 CET 1999 wiz@hiro.xon.net:/usr/src/sys/arch/i386/compile/HIRO i386
>Description:
make in editors/vim produces:
"Makefile", line 34: Malformed conditional ((${XAW_TYPE} == "standard"))
"Makefile", line 34: Missing dependency operator
"Makefile", line 36: if-less else
"Makefile", line 36: Need an operator
"Makefile", line 38: if-less endif
"Makefile", line 38: Need an operator
Fatal errors encountered -- cannot continue

if XAW_TYPE is not set in /etc/mk.conf (perhaps even when it's set,
didn't test that).
The problem is
>How-To-Repeat:
see above.
>Fix:
In editors/vim/Makefile, move the line

.include "../../mk/bsd.pkg.mk"

before the line

.if (${XAW_TYPE} == "standard")

or add
XAW_TYPE ?= "standard"
before the above line.
>Audit-Trail:
>Unformatted: