diff options
author | jmmv <jmmv@pkgsrc.org> | 2004-03-10 16:53:50 +0000 |
---|---|---|
committer | jmmv <jmmv@pkgsrc.org> | 2004-03-10 16:53:50 +0000 |
commit | 3870b173bbfc5749d0e77bc41c8158417128d8a2 (patch) | |
tree | a6aa4c48f81e3719538e3b694e9dc112bbe41c1e /mk | |
parent | da2428b94701793279cf706b2af4580c878d8cd7 (diff) | |
download | pkgsrc-3870b173bbfc5749d0e77bc41c8158417128d8a2.tar.gz |
Prefer the -esp and -esp-nox11 versions of ghostscript when USE_CUPS is YES.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/ghostscript.mk | 10 |
1 files changed, 9 insertions, 1 deletions
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 |