src_configure() { MYCMAKEARGS="-DINSTALL_CMOD='$(pkg-config --variable INSTALL_CMOD lua)'" cmake-utils_src_configure } MYCMAKEARGS is not part of the eclass API, please use 'local mycmakeargs=()' instead.
will get removed after https://bugs.gentoo.org/show_bug.cgi?id=622680