Subject: pkg/25214: For some packages, make fails with error in mk/bsd.pkg.mk
To: None <gnats-bugs@gnats.netbsd.org>
From: None <daniel@maywallacedesign.com>
List: pkgsrc-bugs
Date: 04/17/2004 14:31:32
>Number:         25214
>Category:       pkg
>Synopsis:       For some packages, make fails with error in mk/bsd.pkg.mk
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 17 21:32:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Daniel Parks
>Release:        NetBSD 1.6.2
>Organization:
>Environment:
System: NetBSD mordor.middle.earth 1.6.2 NetBSD 1.6.2 (GENERIC) #0: Tue Feb 10 21:53:10 UTC 2004 autobuild@tgm.netbsd.org:/autobuild/netbsd-1-6-PATCH002/i386/OBJ/autobuild/netbsd-1-6-PATCH002/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
Running make on some packages fails with an error in mk/bsd.pkg.mk.
I ran into this while doing make readme on the security directory.

pkgsrc@mordor ~/security/nessus $ make
make: "/usr/pkgsrc/security/nessus/../../mk/bsd.pkg.mk" line 1453: Malformed conditional (${X11_TYPE} == "native")
make: "/usr/pkgsrc/security/nessus/../../mk/bsd.pkg.mk" line 1453: Need an operator
make: "/usr/pkgsrc/security/nessus/../../mk/bsd.pkg.mk" line 1518: if-less endif
make: "/usr/pkgsrc/security/nessus/../../mk/bsd.pkg.mk" line 1518: Need an operator
make: Fatal errors encountered -- cannot continue

make: stopped in /usr/pkgsrc/security/nessus

I do not have X installed. I just did a cvs update of pkgsrc a few
minutes ago (4/17/2004 14:21 PDT). Moving /etc/mk.conf out of the
way doesn't help.

I believe I saw this a few days ago as well, but I could be wrong.
>How-To-Repeat:
$ cd /usr/pkgsrc
$ cvs update
$ cd security/nessus
$ make readme
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: