Subject: pkg/25214: For some packages, make fails with error in mk/
To: None <>
From: None <>
List: pkgsrc-bugs
Date: 04/17/2004 14:31:32
>Number:         25214
>Category:       pkg
>Synopsis:       For some packages, make fails with error in 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
>Originator:     Daniel Parks
>Release:        NetBSD 1.6.2
System: NetBSD 1.6.2 NetBSD 1.6.2 (GENERIC) #0: Tue Feb 10 21:53:10 UTC 2004 i386
Architecture: i386
Machine: i386
Running make on some packages fails with an error in mk/
I ran into this while doing make readme on the security directory.

pkgsrc@mordor ~/security/nessus $ make
make: "/usr/pkgsrc/security/nessus/../../mk/" line 1453: Malformed conditional (${X11_TYPE} == "native")
make: "/usr/pkgsrc/security/nessus/../../mk/" line 1453: Need an operator
make: "/usr/pkgsrc/security/nessus/../../mk/" line 1518: if-less endif
make: "/usr/pkgsrc/security/nessus/../../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.
$ cd /usr/pkgsrc
$ cvs update
$ cd security/nessus
$ make readme