aboutsummaryrefslogtreecommitdiff
path: root/textproc/pdftohtml
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-01 14:37:37 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-01 14:37:37 +0000
commit35f34c0c13151861f0f543166935570d79d267d3 (patch)
tree90e939b9912c0bcd534414f9b54c0d44656137ba /textproc/pdftohtml
parent8aa5a5050fd4449f1317db61518a5c59d817ee3d (diff)
downloadports-35f34c0c13151861f0f543166935570d79d267d3.tar.gz
ports-35f34c0c13151861f0f543166935570d79d267d3.zip
add REINPLACE
PR: 40065 Submitted by: Erwin Lansing <erwin@lansing.dk>
Notes
Notes: svn path=/head/; revision=62273
Diffstat (limited to 'textproc/pdftohtml')
-rw-r--r--textproc/pdftohtml/Makefile5
1 files changed, 2 insertions, 3 deletions
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: