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

(-)iputils-20121221.ebuild (-1 / +1 lines)
Lines 54-63 src_prepare() { Link Here
54
	epatch "${FILESDIR}"/${PN}-20121221-owl-pingsock.diff
54
	epatch "${FILESDIR}"/${PN}-20121221-owl-pingsock.diff
55
	use SECURITY_HAZARD && epatch "${FILESDIR}"/${PN}-20071127-nonroot-floodping.patch
55
	use SECURITY_HAZARD && epatch "${FILESDIR}"/${PN}-20071127-nonroot-floodping.patch
56
	use static && append-ldflags -static
56
	use static && append-ldflags -static
57
	sed -i -e "s|^CC=gcc$|CC=$(tc-getCC)|" Makefile || die
57
}
58
}
58
59
59
src_compile() {
60
src_compile() {
60
	tc-export CC
61
	emake \
61
	emake \
62
		USE_CAP=$(usex caps) \
62
		USE_CAP=$(usex caps) \
63
		USE_IDN=$(usex idn) \
63
		USE_IDN=$(usex idn) \

Return to bug 454136