diff options
author | jlam <jlam@pkgsrc.org> | 2002-09-13 20:23:37 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-09-13 20:23:37 +0000 |
commit | 76e160e5471b181b68f441938a74592424468c08 (patch) | |
tree | 7ab075c8cb99c45db4e1cebb3ca7f1786fa3f00d /mk/ghostscript.mk | |
parent | d50f3329aec757587b0adbc83dc0bc73db19a93a (diff) | |
download | pkgsrc-76e160e5471b181b68f441938a74592424468c08.tar.gz |
Recognize ghostscript-gnu-x11.
Diffstat (limited to 'mk/ghostscript.mk')
-rw-r--r-- | mk/ghostscript.mk | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mk/ghostscript.mk b/mk/ghostscript.mk index 7ac4a4e3f3e..aa291792d4a 100644 --- a/mk/ghostscript.mk +++ b/mk/ghostscript.mk @@ -1,4 +1,4 @@ -# $NetBSD: ghostscript.mk,v 1.3 2002/09/13 06:54:17 jlam Exp $ +# $NetBSD: ghostscript.mk,v 1.4 2002/09/13 20:23:37 jlam Exp $ # # This Makefile fragment is included by packages that require a run-time # dependency on a ghostscript Postscript interpreter. @@ -24,14 +24,16 @@ _GS_PKGSRCDIR?= ../../print/ghostscript-gnu _VALID_GS= # empty -# ghostscript-gnu{,-nox11} satisfies ${GHOSTSCRIPT_REQD}<=7.05 +# ghostscript-gnu{,-x11,-nox11} satisfies ${GHOSTSCRIPT_REQD}<=7.05 # .for _gs_pattern_ in [0-6].* 7.0 7.0nb* 7.0[0-5] . if !empty(GHOSTSCRIPT_REQD:M${_gs_pattern_}) . if defined(USE_X11) || defined(USE_X11BASE) || defined(USE_IMAKE) _VALID_GS+= ghostscript-gnu>=${GHOSTSCRIPT_REQD} +_VALID_GS+= ghostscript-gnu-x11>=${GHOSTSCRIPT_REQD} . else _VALID_GS+= ghostscript-gnu>=${GHOSTSCRIPT_REQD} +_VALID_GS+= ghostscript-gnu-x11>=${GHOSTSCRIPT_REQD} _VALID_GS+= ghostscript-gnu-no11>=${GHOSTSCRIPT_REQD} . endif . endif @@ -51,7 +53,7 @@ _VALID_GS+= ghostscript-no11>=${GHOSTSCRIPT_REQD} .endfor .if !defined(GHOSTSCRIPT_DEPENDS) && !empty(_VALID_GS) -_GS_DEPENDS!= ${ECHO} "${_VALID_GS}" | ${SED} -e "s:^ *::" -e "s: :,:g" +_GS_DEPENDS!= ${ECHO} '${_VALID_GS}' | ${SED} -e "s:^ *::" -e "s: :,:g" . if !empty(_GS_DEPENDS:M*,*) GHOSTSCRIPT_DEPENDS= {${_GS_DEPENDS}}:${_GS_PKGSRCDIR} . else |