mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-firewall/xtables-addons: Fix kernel version detection during configure
The error seemingly wasn't fatal, but it didn't look good. Closes: https://bugs.gentoo.org/957890 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
MODULES_OPTIONAL_IUSE="+modules"
|
||||
inherit flag-o-matic linux-mod-r1
|
||||
inherit flag-o-matic linux-mod-r1 toolchain-funcs
|
||||
|
||||
XTABLES_MODULES=(
|
||||
account chaos delude dhcpmac dnetmap echo ipmark logmark
|
||||
@@ -82,6 +82,9 @@ src_configure() {
|
||||
--prefix="${EPREFIX:-/}"
|
||||
--libexecdir="${EPREFIX}"/$(get_libdir)
|
||||
$(usex modules --with-kbuild="${KV_OUT_DIR}" --without-kbuild)
|
||||
|
||||
# Needed for cross-compiling and to avoid a clash with the Gentoo ARCH.
|
||||
ARCH="$(tc-arch-kernel)"
|
||||
)
|
||||
|
||||
econf "${econfargs[@]}"
|
||||
|
||||
Reference in New Issue
Block a user