diff options
author | dsainty <dsainty> | 2007-10-11 11:45:06 +0000 |
---|---|---|
committer | dsainty <dsainty> | 2007-10-11 11:45:06 +0000 |
commit | 17d5b3cd520cfa19a2ea2f40018063ee67c7c04c (patch) | |
tree | 2b78a3573afd61fa93c3d404241feec3183c652c /print | |
parent | 62a95365d0ab69883348f9a43b4877b809b77cfd (diff) | |
download | pkgsrc-17d5b3cd520cfa19a2ea2f40018063ee67c7c04c.tar.gz |
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.
Diffstat (limited to 'print')
-rw-r--r-- | print/ghostscript/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/print/ghostscript/Makefile b/print/ghostscript/Makefile index 1ac7ae2ff1c..25217cf2e63 100644 --- a/print/ghostscript/Makefile +++ b/print/ghostscript/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.35 2007/08/08 20:09:05 joerg Exp $ +# $NetBSD: Makefile,v 1.36 2007/10/11 11:45:06 dsainty Exp $ DISTNAME= ghostscript-8.60 PKGREVISION= 1 @@ -21,6 +21,8 @@ DEPENDS+= ghostscript-fonts>=6.0:../../fonts/ghostscript-fonts USE_TOOLS+= gmake perl:run GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --disable-cups + REPLACE_PERL+= lib/fixmswrd.pl GS_RESOURCEDIR= ${PREFIX}/share/ghostscript/Resource |