Lines 31-37
Link Here
|
31 |
autoconf || die "autoconf failed" |
31 |
autoconf || die "autoconf failed" |
32 |
} |
32 |
} |
33 |
|
33 |
|
|
|
34 |
check_for_kerberos() { |
35 |
if built_with_use dev-libs/openssl kerberos; then |
36 |
eerror "Please remove the static USE flag set for wget" |
37 |
die "wget can't be statically linked due to missing static kerberos libs" |
38 |
fi |
39 |
} |
40 |
|
34 |
src_compile() { |
41 |
src_compile() { |
|
|
42 |
use ssl && use static && check_for_kerberos |
43 |
|
35 |
use static && append-ldflags -static |
44 |
use static && append-ldflags -static |
36 |
econf \ |
45 |
econf \ |
37 |
--sysconfdir=/etc/wget \ |
46 |
--sysconfdir=/etc/wget \ |