From 35f34c0c13151861f0f543166935570d79d267d3 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Mon, 1 Jul 2002 14:37:37 +0000 Subject: add REINPLACE PR: 40065 Submitted by: Erwin Lansing --- textproc/pdftohtml/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'textproc/pdftohtml') diff --git a/textproc/pdftohtml/Makefile b/textproc/pdftohtml/Makefile index dc7f8306113f..30c31028f318 100644 --- a/textproc/pdftohtml/Makefile +++ b/textproc/pdftohtml/Makefile @@ -19,12 +19,11 @@ MAINTAINER= erwin@lansing.dk RUN_DEPENDS= ${LOCALBASE}/bin/gs:${PORTSDIR}/print/ghostscript-gnu WRKSRC= ${WRKDIR}/${DISTNAME} +USE_REINPLACE= yes pre-patch: .for file in goo/Makefile xpdf/Makefile - @${MV} ${WRKSRC}/${file} ${WRKSRC}/${file}.orig - @${SED} -e "s|-O2||; s|-g||" ${WRKSRC}/${file}.orig \ - > ${WRKSRC}/${file} + ${REINPLACE_CMD} -e "s|-O2||; s|-g||" ${WRKSRC}/${file} .endfor do-install: -- cgit v1.2.3