pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk Prefer the -esp and -esp-nox11 versions of ghostscr...
details: https://anonhg.NetBSD.org/pkgsrc/rev/0157b2817094
branches: trunk
changeset: 470585:0157b2817094
user: jmmv <jmmv%pkgsrc.org@localhost>
date: Wed Mar 10 16:53:50 2004 +0000
description:
Prefer the -esp and -esp-nox11 versions of ghostscript when USE_CUPS is YES.
diffstat:
mk/ghostscript.mk | 10 +++++++++-
1 files changed, 9 insertions(+), 1 deletions(-)
diffs (27 lines):
diff -r 39255160fb12 -r 0157b2817094 mk/ghostscript.mk
--- a/mk/ghostscript.mk Wed Mar 10 15:40:03 2004 +0000
+++ b/mk/ghostscript.mk Wed Mar 10 16:53:50 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: ghostscript.mk,v 1.11 2002/10/22 22:54:08 jlam Exp $
+# $NetBSD: ghostscript.mk,v 1.12 2004/03/10 16:53:50 jmmv Exp $
#
# This Makefile fragment is included by packages that require a run-time
# dependency on a ghostscript Postscript interpreter.
@@ -17,9 +17,17 @@
USE_GHOSTSCRIPT?= run
.if defined(NO_X11)
+. if defined(USE_CUPS) && !empty(USE_CUPS:M[Yy][Ee][Ss])
+_GS_PKGSRCDIR?= ../../print/ghostscript-esp-nox11
+. else
_GS_PKGSRCDIR?= ../../print/ghostscript-gnu-nox11
+. endif
.else
+. if defined(USE_CUPS) && !empty(USE_CUPS:M[Yy][Ee][Ss])
+_GS_PKGSRCDIR?= ../../print/ghostscript-esp
+. else
_GS_PKGSRCDIR?= ../../print/ghostscript-gnu
+. endif
.endif
_VALID_GS= # empty
Home |
Main Index |
Thread Index |
Old Index