pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/ghostscript-esp ps2epsi needs to use "test -e" s...
details: https://anonhg.NetBSD.org/pkgsrc/rev/eed1e3621620
branches: trunk
changeset: 477964:eed1e3621620
user: markd <markd%pkgsrc.org@localhost>
date: Tue Jul 13 13:40:35 2004 +0000
description:
ps2epsi needs to use "test -e" so substitute ${SH} for /bin/sh.
Fixes use on Solaris, no change on most other systems.
diffstat:
print/ghostscript-esp/Makefile.common | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r ea35518cd388 -r eed1e3621620 print/ghostscript-esp/Makefile.common
--- a/print/ghostscript-esp/Makefile.common Tue Jul 13 13:24:37 2004 +0000
+++ b/print/ghostscript-esp/Makefile.common Tue Jul 13 13:40:35 2004 +0000
@@ -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 @@
${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"
Home |
Main Index |
Thread Index |
Old Index