summaryrefslogtreecommitdiff
path: root/textproc/code2html
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/code2html')
-rw-r--r--textproc/code2html/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/code2html/Makefile b/textproc/code2html/Makefile
index 2601f45eeed3..826499bd3443 100644
--- a/textproc/code2html/Makefile
+++ b/textproc/code2html/Makefile
@@ -23,6 +23,7 @@ BZIP2BASE= /usr
.endif
NO_BUILD= yes
+USE_REINPLACE= yes
MAN1= code2html.1
@@ -32,7 +33,7 @@ do-configure:
-e 's|/bin/gzip|/usr/bin/gzip|' \
-e 's|/etc/code|${PREFIX}/etc/code|' \
< ${WRKSRC}/code2html.orig > ${WRKSRC}/code2html
- @${PERL} -pi.orig -e 's|/etc/code|${PREFIX}/etc/code|' \
+ @${REINPLACE_CMD} -e 's|/etc/code|${PREFIX}/etc/code|' \
${WRKSRC}/code2html.1
do-install: