summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild2
-rw-r--r--dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild b/dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild
index 5d96c627e02..803696f1d2e 100644
--- a/dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild
+++ b/dev-lua/luafilesystem/luafilesystem-1.5.0.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
}
diff --git a/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild b/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild
index 53a0b21c8fc..0ef510a8194 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
}