summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild')
-rw-r--r--dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild b/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild
index 53a0b21c8fc3..0ef510a81948 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild
@@ -19,11 +19,11 @@ RDEPEND="${DEPEND}"
src_prepare() {
sed -i \
+ -e "s|gcc|$(tc-getCC)|" \
-e "s|/usr/local|/usr|" \
-e "s|/lib|/$(get_libdir)|" \
-e "s|-O2|${CFLAGS}|" \
-e "/^LIB_OPTION/s|= |= ${LDFLAGS} |" \
- -e "s|gcc|$(tc-getCC)|" \
config || die
}