From 18fcedf34257b4fbafe7715769727d875fae9178 Mon Sep 17 00:00:00 2001 From: jmmv Date: Wed, 10 Mar 2004 16:53:50 +0000 Subject: Prefer the -esp and -esp-nox11 versions of ghostscript when USE_CUPS is YES. --- mk/ghostscript.mk | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'mk/ghostscript.mk') diff --git a/mk/ghostscript.mk b/mk/ghostscript.mk index c796d39b2bd..8575479271b 100644 --- a/mk/ghostscript.mk +++ b/mk/ghostscript.mk @@ -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 @@ GHOSTSCRIPT_REQD?= 6.01 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 -- cgit v1.2.3