Subject: CVS commit: pkgsrc/print/ghostscript
To: None <pkgsrc-changes@NetBSD.org>
From: David Sainty <dsainty@netbsd.org>
List: pkgsrc-changes
Date: 10/11/2007 11:45:07
Module Name:	pkgsrc
Committed By:	dsainty
Date:		Thu Oct 11 11:45:07 UTC 2007

Modified Files:
	pkgsrc/print/ghostscript: Makefile

Log Message:
This version of Ghostscript has some form of support for CUPS, but it
doesn't currently pull in CUPS itself.  Generally that means the
package builds without CUPS support.  However, if you are
using Pkgsrc on a system with CUPS installed via some other means (E.g.
Linux with another packaging system, or even a second Pkgsrc root probably)
then things can go wrong.

I solve this case here by explicitly disabling CUPS support.  For
normal cases this should mean "No change", but in exotic cases it fixes
the build and install.

Of course, there may be value in using the CUPS support, but it isn't clear
whether the right way to do that is to add a "cups" package option or to
have a second ghostscript-cups package that CUPS depends on - it kind of
looks like the latter is closer to correct at first glance.


To generate a diff of this commit:
cvs rdiff -r1.35 -r1.36 pkgsrc/print/ghostscript/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.