Subject: Re: PKG_OPTIONS not properly handled
To: None <tech-pkg@NetBSD.org>
From: Bernd Ernesti <netbsd@lists.veego.de>
List: tech-pkg
Date: 12/30/2007 16:35:59
On Sun, Dec 30, 2007 at 10:27:46AM -0500, D'Arcy J.M. Cain wrote:
> I am trying to build print/ghostscript-esp without CUPS (ehoch is
> currently marked as insecure) but it tries to build anyway.  I made the
> change indicated below to see what was going on.  Here is what it
> outputs:
> 
> ===> Extracting for ghostscript-esp-8.15.1nb6
> 1 x11
> 2 cups x11

Show us your /etc/mk.conf

I'm guessing you are using something like
 PKG_OPTIONS.ghostscript-esp= x11
instead of:
 PKG_OPTIONS.ghostscript-esp= -cups

You have to explicit disable cups. Using PKG_OPTIONS in /etc/mk.conf will NOT
overwritte the default settings.

Bernd