summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-10-03 08:47:20 +0000
committerRoy Marples <uberlord@gentoo.org>2007-10-03 08:47:20 +0000
commita8737394d71fddf455040cf93692da87dc5da4fc (patch)
tree084c4f2b6500245c771db425522d58904abaaa4e /net-misc/wget
parenttiny modification of mask for gnome-keyring for Gnome 2.20 (diff)
downloadgentoo-2-a8737394d71fddf455040cf93692da87dc5da4fc.tar.gz
gentoo-2-a8737394d71fddf455040cf93692da87dc5da4fc.tar.bz2
gentoo-2-a8737394d71fddf455040cf93692da87dc5da4fc.zip
openssl-0.9.8 now builds with -pthread on the BSD's
(Portage version: 2.1.3.11)
Diffstat (limited to 'net-misc/wget')
-rw-r--r--net-misc/wget/wget-1.10.2.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/net-misc/wget/wget-1.10.2.ebuild b/net-misc/wget/wget-1.10.2.ebuild
index 22231034c74a..0bb52decdec2 100644
--- a/net-misc/wget/wget-1.10.2.ebuild
+++ b/net-misc/wget/wget-1.10.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/wget-1.10.2.ebuild,v 1.15 2006/10/17 12:38:38 uberlord Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/wget-1.10.2.ebuild,v 1.16 2007/10/03 08:47:20 uberlord Exp $
inherit eutils flag-o-matic
@@ -14,7 +14,7 @@ SRC_URI="mirror://gentoo/${P}.tar.gz
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc ~sparc-fbsd x86 ~x86-fbsd"
-IUSE="build debug ipv6 nls socks5 ssl static"
+IUSE="build debug ipv6 nls socks5 ssl static elibc_FreeBSD"
RDEPEND="ssl? ( >=dev-libs/openssl-0.9.6b )
socks5? ( net-proxy/dante )"
@@ -33,6 +33,9 @@ src_unpack() {
}
src_compile() {
+ # openssl-0.9.8 now builds with -pthread on the BSD's
+ use elibc_FreeBSD && use ssl && append-ldflags -pthread
+
use static && append-ldflags -static
econf \
--sysconfdir=/etc/wget \