Subject: Re: pkgsrc issues on Darwin 7.0
To: None <tech-pkg@netbsd.org>
From: Bryan Vyhmeister <netbsd@hub3.net>
List: tech-pkg
Date: 09/23/2003 23:17:11
On Tue, Sep 23, 2003 at 10:51:33PM -0700, Bryan Vyhmeister wrote:
> I just installed pkgsrc on Darwin 7.0 and I am running into problems.
> Any time I try to use bmake to build any package I get the following
> series of errors.
> 
> 
> bmake: "/usr/pkgsrc/mail/mutt/../../mk/defs.Darwin.mk" line 110: warning: String comparison operator should be either == or !=
> bmake: "/usr/pkgsrc/mail/mutt/../../mk/defs.Darwin.mk" line 110: Malformed conditional (${OS_VERSION} >= 6.0)
> bmake: "/usr/pkgsrc/mail/mutt/../../mk/defs.Darwin.mk" line 110: Need an operator
> bmake: "../../mk/../../mk/bsd.prefs.mk" line 412: if-less endif
> bmake: "../../mk/../../mk/bsd.prefs.mk" line 412: Need an operator
> bmake: Fatal errors encountered -- cannot continue
> 
> bmake: stopped in /usr/pkgsrc/mail/mutt

I did just try changing ${OS_VERSION} >= 6.0 to ${OS_VERSION} == 7.0 and
that seemed to allow the build to start working at least. It is still in
progress. There must be a better solution because this is really a hack.

Bryan