diff options
author | 2014-08-16 23:24:17 +0700 | |
---|---|---|
committer | 2014-08-16 23:24:17 +0700 | |
commit | 9e846359d2ccb770d254a939f17bfdcf04153339 (patch) | |
tree | 1a3ae5481d8199b7f79c5a7083fcb183e31def27 /dev-lua/resty-lock | |
parent | [dev-lua/resty*] OpenResty bumps, additions, fixes (diff) | |
download | lua-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-lock')
-rw-r--r-- | dev-lua/resty-lock/resty-lock-9999.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-lua/resty-lock/resty-lock-9999.ebuild b/dev-lua/resty-lock/resty-lock-9999.ebuild index ff89a43..8fe96fb 100644 --- a/dev-lua/resty-lock/resty-lock-9999.ebuild +++ b/dev-lua/resty-lock/resty-lock-9999.ebuild @@ -30,8 +30,8 @@ src_prepare() { local 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 } |