summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lua/luafilesystem')
-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 5d96c627e027..803696f1d2e5 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 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
}