Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 272076 | Differences between
and this patch

Collapse All | Expand All

(-)wget-1.11.2.ebuild.org (+9 lines)
Lines 24-30 Link Here
24
	epatch "${FILESDIR}"/${PN}-1.11-linking.patch
24
	epatch "${FILESDIR}"/${PN}-1.11-linking.patch
25
}
25
}
26
26
27
check_for_kerberos() {
28
	if built_with_use dev-libs/openssl kerberos; then
29
		eerror "Please remove the static USE flag set for wget"
30
		die "wget can't be statically linked due to missing static kerberos libs"
31
	fi
32
}
33
27
src_compile() {
34
src_compile() {
35
	use ssl && use static && check_for_kerberos
36
28
	# openssl-0.9.8 now builds with -pthread on the BSD's
37
	# openssl-0.9.8 now builds with -pthread on the BSD's
29
	use elibc_FreeBSD && use ssl && append-ldflags -pthread
38
	use elibc_FreeBSD && use ssl && append-ldflags -pthread
30
39

Return to bug 272076