diff options
| author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-03-15 16:19:13 -0700 |
|---|---|---|
| committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-03-15 16:22:04 -0700 |
| commit | 52d57339a18d20c00421f235006ba65e0a4248e0 (patch) | |
| tree | 2f4db6cbfae8363a0ad7363f1d169655700226ed /dev-lua/lua-utf8/lua-utf8-0.1.1.ebuild | |
| parent | 8708d8768b354a6dbe60a1cc796da9dd843acecb (diff) | |
| download | gentoo-52d57339a18d20c00421f235006ba65e0a4248e0.tar.gz gentoo-52d57339a18d20c00421f235006ba65e0a4248e0.tar.bz2 gentoo-52d57339a18d20c00421f235006ba65e0a4248e0.zip | |
dev-lua/lua-utf8: QA: quoting, respect LDFLAGS and CC, fix tests
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-lua/lua-utf8/lua-utf8-0.1.1.ebuild')
| -rw-r--r-- | dev-lua/lua-utf8/lua-utf8-0.1.1.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/dev-lua/lua-utf8/lua-utf8-0.1.1.ebuild b/dev-lua/lua-utf8/lua-utf8-0.1.1.ebuild index 00f5147b88b0..7daf5890116c 100644 --- a/dev-lua/lua-utf8/lua-utf8-0.1.1.ebuild +++ b/dev-lua/lua-utf8/lua-utf8-0.1.1.ebuild @@ -26,10 +26,11 @@ S="${WORKDIR}/${PN//-/}-${PV}" src_prepare() { default - cp -v ${FILESDIR}/${PN}.Makefile ${S}/Makefile || die + cp -v "${FILESDIR}/${PN}".Makefile "${S}"/Makefile || die } src_compile() { + tc-export CC emake DESTDIR="${D}" PREFIX="${EPREFIX}" MY_USE_LUA="$(usex luajit 'luajit' 'lua')" PKG_CONFIG="$(tc-getPKG_CONFIG)" } @@ -39,5 +40,5 @@ src_install() { } src_test() { - LUA_CPATH=./src/?.so $(usex luajit 'luajit' 'lua') test.lua || die + LUA_CPATH=./?.so $(usex luajit 'luajit' 'lua') test.lua || die } |
