From 21c0c1cf22f95ab391db81cb74b0e6a141ac9122 Mon Sep 17 00:00:00 2001 From: markd Date: Tue, 13 Jul 2004 13:40:35 +0000 Subject: ps2epsi needs to use "test -e" so substitute ${SH} for /bin/sh. Fixes use on Solaris, no change on most other systems. --- print/ghostscript-esp/Makefile.common | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'print/ghostscript-esp') diff --git a/print/ghostscript-esp/Makefile.common b/print/ghostscript-esp/Makefile.common index cf9605a0b97..7cf17556f47 100644 --- a/print/ghostscript-esp/Makefile.common +++ b/print/ghostscript-esp/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.17 2004/06/26 20:51:19 recht Exp $ +# $NetBSD: Makefile.common,v 1.18 2004/07/13 13:40:35 markd Exp $ DISTNAME= espgs-${GS_VERS}-source BASEGS_VERS= 7.07 @@ -90,6 +90,12 @@ post-install: ${INSTALL_DATA} ${WRKSRC}/pstoraster/pxlmono.ppd ${CUPS_MODEL_DIR} ${INSTALL_DATA} ${WRKSRC}/pstoraster/pstoraster.convs ${CUPS_EGDIR} +SUBST_CLASSES+= ps2epsi-sh +SUBST_MESSAGE.ps2epsi-sh= "Fixing ps2epsi shell." +SUBST_FILES.ps2epsi-sh= lib/ps2epsi +SUBST_SED.ps2epsi-sh= -e 's|/bin/sh|${SH}|' +SUBST_STAGE.ps2epsi-sh= post-patch + .include "../../security/openssl/buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../graphics/tiff/buildlink3.mk" -- cgit v1.2.3