summaryrefslogtreecommitdiff
path: root/mk/ghostscript.mk
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-10-22 22:54:07 +0000
committerjlam <jlam@pkgsrc.org>2002-10-22 22:54:07 +0000
commit0ebae1a37ff929bce6df5dcffc76b719824a6c15 (patch)
treeb2e0bbe58ddf4c76b07e55a3c77e6979267751ba /mk/ghostscript.mk
parentad1b0af1a45a3c7f7001973c562d5ec376b907f1 (diff)
downloadpkgsrc-0ebae1a37ff929bce6df5dcffc76b719824a6c15.tar.gz
Have USE_IMAKE imply USE_X11BASE imply USE_X11. Now we can just check if
USE_X11 is defined instead of USE_X11 || USE_X11BASE || USE_IMAKE.
Diffstat (limited to 'mk/ghostscript.mk')
-rw-r--r--mk/ghostscript.mk8
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/ghostscript.mk b/mk/ghostscript.mk
index ff0a09e9821..c796d39b2bd 100644
--- a/mk/ghostscript.mk
+++ b/mk/ghostscript.mk
@@ -1,4 +1,4 @@
-# $NetBSD: ghostscript.mk,v 1.10 2002/09/21 20:49:21 jlam Exp $
+# $NetBSD: ghostscript.mk,v 1.11 2002/10/22 22:54:08 jlam Exp $
#
# This Makefile fragment is included by packages that require a run-time
# dependency on a ghostscript Postscript interpreter.
@@ -30,7 +30,7 @@ _VALID_GS= # empty
[0-6].* 7.0 7.0nb* 7.0[0-4] 7.0[0-4]nb* 7.05 7.05nb1 \
7.05.[1-4] 7.05.[1-4]nb* 7.05.5
. if !empty(GHOSTSCRIPT_REQD:M${_gs_pattern_})
-. if defined(USE_X11) || defined(USE_X11BASE) || defined(USE_IMAKE)
+. if defined(USE_X11)
_VALID_GS+= ghostscript-esp>=${GHOSTSCRIPT_REQD}
. else
_VALID_GS+= ghostscript-esp>=${GHOSTSCRIPT_REQD}
@@ -43,7 +43,7 @@ _VALID_GS+= ghostscript-esp-nox11>=${GHOSTSCRIPT_REQD}
#
.for _gs_pattern_ in [0-6].* 7.0 7.0nb* 7.0[0-4] 7.0[0-4]nb* 7.05 7.05nb1
. if !empty(GHOSTSCRIPT_REQD:M${_gs_pattern_})
-. if defined(USE_X11) || defined(USE_X11BASE) || defined(USE_IMAKE)
+. if defined(USE_X11)
_VALID_GS+= ghostscript-gnu>=${GHOSTSCRIPT_REQD}
_VALID_GS+= ghostscript-gnu-x11>=${GHOSTSCRIPT_REQD}
. else
@@ -58,7 +58,7 @@ _VALID_GS+= ghostscript-gnu-nox11>=${GHOSTSCRIPT_REQD}
#
.for _gs_pattern_ in [0-5].* 6.0 6.0nb* 6.01 6.01nb[1-4]
. if !empty(GHOSTSCRIPT_REQD:M${_gs_pattern_})
-. if defined(USE_X11) || defined(USE_X11BASE) || defined(USE_IMAKE)
+. if defined(USE_X11)
_VALID_GS+= ghostscript>=${GHOSTSCRIPT_REQD}
. else
_VALID_GS+= ghostscript>=${GHOSTSCRIPT_REQD}