summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim A. Misbakh-Soloviov <mva@mva.name>2014-08-16 23:24:17 +0700
committerVadim A. Misbakh-Soloviov <mva@mva.name>2014-08-16 23:24:17 +0700
commit9e846359d2ccb770d254a939f17bfdcf04153339 (patch)
tree1a3ae5481d8199b7f79c5a7083fcb183e31def27 /dev-lua/resty-websocket
parent[dev-lua/resty*] OpenResty bumps, additions, fixes (diff)
downloadlua-9e846359d2ccb770d254a939f17bfdcf04153339.tar.gz
lua-9e846359d2ccb770d254a939f17bfdcf04153339.tar.bz2
lua-9e846359d2ccb770d254a939f17bfdcf04153339.zip
[dev-lua/resty*] OpenResty fixes (patching)
Signed-off-by: Vadim A. Misbakh-Soloviov <mva@mva.name>
Diffstat (limited to 'dev-lua/resty-websocket')
-rw-r--r--dev-lua/resty-websocket/resty-websocket-9999.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-lua/resty-websocket/resty-websocket-9999.ebuild b/dev-lua/resty-websocket/resty-websocket-9999.ebuild
index 27a273d..3b03baf 100644
--- a/dev-lua/resty-websocket/resty-websocket-9999.ebuild
+++ b/dev-lua/resty-websocket/resty-websocket-9999.ebuild
@@ -32,8 +32,8 @@ src_prepare() {
use luajit && lua=luajit;
sed -r \
- -e "1,6s#(PREFIX).*#\1=/usr#" \
- -e "1,6s#(LUA_LIB_DIR).*#\1=$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD ${lua})#" \
- -e "1,6s#(LUA_INCLUDE_DIR).*#\1=$($(tc-getPKG_CONFIG) --variable includedir ${lua})#" \
+ -e "s#^(PREFIX).*#\1=/usr#" \
+ -e "s#^(LUA_LIB_DIR).*#\1=$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD ${lua})#" \
+ -e "s#^(LUA_INCLUDE_DIR).*#\1=$($(tc-getPKG_CONFIG) --variable includedir ${lua})#" \
-i Makefile
}