On Fri, Feb 19, 2016 at 09:21:41AM +0100, Matthias Kilian wrote: > On Thu, Feb 18, 2016 at 11:54:56PM -0500, gwes wrote: > > This diff allows generating flavors of gs with and without cups. > > > > > > Index: ports/print/ghostscript/Makefile > > =================================================================== > > RCS file: /cvs/ports/print/ghostscript/Makefile,v > > retrieving revision 1.14 > > diff -u -p -u -r1.14 Makefile > > --- ports/print/ghostscript/Makefile 1 Feb 2010 17:00:14 -0000 > > 1.14 > > +++ ports/print/ghostscript/Makefile 19 Feb 2016 04:29:07 -0000 > > @@ -7,6 +7,14 @@ > > SUBDIR += gnu,gtk,a4 > > SUBDIR += gnu,no_x11 > > SUBDIR += gnu,no_x11,a4 > > +.if defined(WITH_CUPS) > > + SUBDIR += gnu,cups > > + SUBDIR += gnu,a4,cups > > + SUBDIR += gnu,gtk,cups > > + SUBDIR += gnu,gtk,a4,cups > > + SUBDIR += gnu,no_x11,cups > > + SUBDIR += gnu,no_x11,a4,cups > > +.endif > > SUBDIR += gnu-fonts > > > > .include <bsd.port.subdir.mk> > > [...] > > Six addotional flavors which gain you nothing? > > > I set the default to without cups because that is the > > version of least surprise. It seems to me that installing a graphics > > package shouldn't install a print package, a network package, > > etc. etc. so that's how it's set. I can easily reverse that. > > Installing cups-libs (and the packages it depends on, including > avahi) shouldn't cause any harm unless they are really used. Which > isn't the case unless ghostscripts cups driver is used. Correct me > if I'm wrong.
You're not wrong. And avahi will not run if you don't enable it. -- Antoine