aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorolgeni <olgeni@FreeBSD.org>2015-07-06 18:55:35 +0800
committerolgeni <olgeni@FreeBSD.org>2015-07-06 18:55:35 +0800
commit09c72bb4ca122528a4a30bc94d21798839ce55c3 (patch)
treed68be733377769f48fd1cfa1b5cc5a9a355c6aaa /www
parentc615495be561abd8678a01ead10a13c12c317ea8 (diff)
downloadfreebsd-ports-gnome-09c72bb4ca122528a4a30bc94d21798839ce55c3.tar.gz
freebsd-ports-gnome-09c72bb4ca122528a4a30bc94d21798839ce55c3.tar.zst
freebsd-ports-gnome-09c72bb4ca122528a4a30bc94d21798839ce55c3.zip
Some patch files were meant to get rid of {vsn, git} in rebar.config;
replace them with REINPLACE_CMD.
Diffstat (limited to 'www')
-rw-r--r--www/erlang-webmachine/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/www/erlang-webmachine/Makefile b/www/erlang-webmachine/Makefile
index 5b806286fa54..e424fab40b13 100644
--- a/www/erlang-webmachine/Makefile
+++ b/www/erlang-webmachine/Makefile
@@ -21,8 +21,7 @@ USE_GITHUB= yes
GH_ACCOUNT= basho
post-patch:
- @${REINPLACE_CMD} -e "s/{vsn, git}/{vsn,\"${PORTVERSION}\"}/" ${WRKSRC}/src/webmachine.app.src
- @${RM} ${WRKSRC}/src/*.bak
+ @${REINPLACE_CMD} -i '' -e 's/{ *vsn, git *}/{vsn, "${PORTVERSION}"}/' ${WRKSRC}/src/*.app.src
@${RM} ${WRKSRC}/demo/priv/www/uploads/.gitignore
do-install: