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/luafilesystem/luafilesystem-1.5.0.ebuild
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/luafilesystem/luafilesystem-1.5.0.ebuild')
-rw-r--r--dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild2
1 files changed, 1 insertions, 1 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
}