Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 690542
Collapse All | Expand All

(-)a/net-firewall/ebtables/ebtables-2.0.10.4-r2.ebuild (-2 / +2 lines)
Lines 15-21 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" Link Here
15
LICENSE="GPL-2"
15
LICENSE="GPL-2"
16
SLOT="0"
16
SLOT="0"
17
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
17
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
18
IUSE="+perl static"
18
IUSE="+perl static kernel64_userspace32"
19
# The ebtables-save script is written in perl.
19
# The ebtables-save script is written in perl.
20
RDEPEND="perl? ( dev-lang/perl )
20
RDEPEND="perl? ( dev-lang/perl )
Lines 47-52 src_compile() { Link Here
47
	# This package uses _init functions to initialise extensions. With
47
	# This package uses _init functions to initialise extensions. With
48
	# --as-needed this will not work.
48
	# --as-needed this will not work.
49
	append-ldflags $(no-as-needed)
49
	append-ldflags $(no-as-needed)
50
	use kernel64_userspace32 && append-cflags -DKERNEL_64_USERSPACE_32
50
	emake \
51
	emake \
51
		CC="$(tc-getCC)" \
52
		CC="$(tc-getCC)" \
52
		CFLAGS="${CFLAGS}" \
53
		CFLAGS="${CFLAGS}" \
53
-

Return to bug 690542