aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--japanese/elisp-manual/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/japanese/elisp-manual/Makefile b/japanese/elisp-manual/Makefile
index f94a55b11845..207d1f9a2dbb 100644
--- a/japanese/elisp-manual/Makefile
+++ b/japanese/elisp-manual/Makefile
@@ -20,6 +20,7 @@ MAINTAINER= okazaki@FreeBSD.org
EMACS_PORT_NAME= emacs20
EMACS_NO_RUN_DEPENDS= YES
+USE_REINPLACE= yes
# emacs port setup
@@ -42,7 +43,7 @@ pre-patch:
post-patch:
cd ${WRKSRC} && \
- ${PERL} -pi -e 's/(@[^@]*ref{.*,.*,.*, *emacs),/$$1-ja,/;' *.texi
+ ${REINPLACE_CMD} -E -e 's/(@[^@]*ref{.*,.*,.*, *emacs),/\1-ja,/;' *.texi
pre-build:
@${ECHO_MSG} "===> Now start formatting texinfo. Please wait."