Subject: Re: Netatalk installing CUPS -- why?
To: Hauke Fath <>
From: Mark Davies <>
List: tech-pkg
Date: 01/31/2005 11:48:19
On Monday 31 January 2005 11:04, Hauke Fath wrote:
> At 13:13 Uhr +0100 30.1.2005, Manuel Bouyer wrote:
> >On Fri, Jan 28, 2005 at 08:01:28PM +0100, Hauke Fath wrote:
> >> So: Does pkgsrc allow to conditionally build with support for another
> >> package "if it's already around"? And, in a similar direction: Is there
> >> a way of globally setting "whatever options you build with, don't force
> >
> >netatalk shoud use the USE_CUPS variable, as do other packages, to include
> >cups support.
> Yes, that'll do nicely. I've inserted the snippet
> .if defined(USE_CUPS) && (${USE_CUPS} == YES)
> .  include "../../print/cups/"
> BUILD_DEFS+=            USE_CUPS
> .endif
> into the Makefile(*), and Netatalk gets configured and built without CUPS.

Actually USE_CUPS is obsolete.  The correct way to do it now is with the 

There was some reason that I didn't make this optional when I originally 
committed the package but it completely escapes me now so I'll shortly commit 
a patch to fix that.