summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2015-11-12 15:00:34 -0800
committerZac Medico <zmedico@gentoo.org>2015-11-12 15:00:53 -0800
commit4735f1fb8896147f9ed04235226b7ef69c789bb9 (patch)
tree1099254e16ba31a58e3cfe09aa658a4135183d2f /dev-lua
parentdev-util/cwdiff: version bump (diff)
downloadgentoo-4735f1fb8896147f9ed04235226b7ef69c789bb9.tar.gz
gentoo-4735f1fb8896147f9ed04235226b7ef69c789bb9.tar.bz2
gentoo-4735f1fb8896147f9ed04235226b7ef69c789bb9.zip
dev-lua/luafilesystem: tweak gcc sed expression to avoid CFLAGS match
This will prevent -frecord-gcc-switches in CFLAGS from being matched by the "s|gcc|$(tc-getCC)|" sed expression. Package-Manager: portage-2.2.24
Diffstat (limited to 'dev-lua')
-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
}