aboutsummaryrefslogtreecommitdiff
path: root/textproc/erlang-edown/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/erlang-edown/Makefile')
-rw-r--r--textproc/erlang-edown/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/erlang-edown/Makefile b/textproc/erlang-edown/Makefile
index e1b6c03f7c30..1fa354b7d810 100644
--- a/textproc/erlang-edown/Makefile
+++ b/textproc/erlang-edown/Makefile
@@ -17,7 +17,8 @@ USE_GITHUB= yes
GH_ACCOUNT= uwiger
post-patch:
- @${REINPLACE_CMD} -e 's/{vsn, git}/{vsn,"${PORTVERSION}"}/' ${WRKSRC}/src/*.app.src
+ @${RM} ${WRKSRC}/src/*.orig
+ @${REINPLACE_CMD} -i '' -e 's/{ *vsn, git *}/{vsn, "${PORTVERSION}"}/' ${WRKSRC}/src/*.app.src
do-build:
@cd ${WRKSRC} && ./rebar compile