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.10.2.ebuild.org (+9 lines)
Lines 32-38 Link Here
32
	autoconf || die "autoconf failed"
32
	autoconf || die "autoconf failed"
33
}
33
}
34
34
35
check_for_kerberos() {
36
	if built_with_use dev-libs/openssl kerberos; then
37
		eerror "Please remove the static USE flag set for wget"
38
		die "wget can't be statically linked due to missing static kerberos libs"
39
	fi
40
}
41
35
src_compile() {
42
src_compile() {
43
	use ssl && use static && check_for_kerberos
44
36
	# openssl-0.9.8 now builds with -pthread on the BSD's
45
	# openssl-0.9.8 now builds with -pthread on the BSD's
37
	use elibc_FreeBSD && use ssl && append-ldflags -pthread
46
	use elibc_FreeBSD && use ssl && append-ldflags -pthread
38
47

Return to bug 272076