pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/ghostscript This version of Ghostscript has some...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/36397a771e0b
branches:  trunk
changeset: 534086:36397a771e0b
user:      dsainty <dsainty%pkgsrc.org@localhost>
date:      Thu Oct 11 11:45:06 2007 +0000

description:
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:

 print/ghostscript/Makefile |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r ace300456e60 -r 36397a771e0b print/ghostscript/Makefile
--- a/print/ghostscript/Makefile        Thu Oct 11 10:22:56 2007 +0000
+++ b/print/ghostscript/Makefile        Thu Oct 11 11:45:06 2007 +0000
@@ -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 @@
 USE_TOOLS+=            gmake perl:run
 GNU_CONFIGURE=         yes
 
+CONFIGURE_ARGS+=       --disable-cups
+
 REPLACE_PERL+=         lib/fixmswrd.pl
 
 GS_RESOURCEDIR=                ${PREFIX}/share/ghostscript/Resource



Home | Main Index | Thread Index | Old Index