Subject: Re: Netatalk installing CUPS -- why?
To: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: tech-pkg
Date: 01/30/2005 23:45:04
On Sun, Jan 30, 2005 at 11:04:49PM +0100, Hauke Fath wrote:
> [Thanks for all the comments!]
>
> 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
> >> BLOATEDPACKAGE on me"?
> >
> >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/buildlink3.mk"
> BUILD_DEFS+= USE_CUPS
> .endif
>
> into the Makefile(*), and Netatalk gets configured and built without CUPS.
>
> I'll send-pr.
>
> Thanks again,
>
> hauke
>
>
> (*) Btw., what does the USE_CUPS in BUILD_DEFS do? Is it intended for
> Netatalk's Makefiles, or some pkgsrc magic?
I don't think that BUILD_DEFS is needed (unless some other part of the Makefile
use it). For example, kdelibs3 doesn't have it.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--