commit:     c3c4c1e1ee4df63e23f0a1596dd883d734536a99
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  6 09:16:04 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Tue Sep  6 09:16:04 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3c4c1e1

net-analyzer/rrdtool: quote emake arguments for lua's CFLAGS

Closes: https://bugs.gentoo.org/868675
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 net-analyzer/rrdtool/rrdtool-1.8.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/rrdtool/rrdtool-1.8.0.ebuild 
b/net-analyzer/rrdtool/rrdtool-1.8.0.ebuild
index ad96cbb55058..9d56454bf1fe 100644
--- a/net-analyzer/rrdtool/rrdtool-1.8.0.ebuild
+++ b/net-analyzer/rrdtool/rrdtool-1.8.0.ebuild
@@ -159,13 +159,13 @@ lua_src_compile() {
        # We do need the CMOD-dir path here, otherwise libtool complains.
        # Use the real one (i.e. not within ${ED}) just in case.
        local myemakeargs=(
-               LUA_CFLAGS=$(lua_get_CFLAGS)
+               LUA_CFLAGS="$(lua_get_CFLAGS)"
                LUA_INSTALL_CMOD="$(lua_get_cmod_dir)"
        )
 
        emake "${myemakeargs[@]}"
 
-       popd
+       popd || die
 }
 
 python_compile() {

Reply via email to