summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2011-09-01 18:33:59 +0000
committerFabian Groffen <grobian@gentoo.org>2011-09-01 18:33:59 +0000
commit51712e8deb8ccdc1244e0b0f633bbe82619d5457 (patch)
treebc7ab5f2ed1d00f7d7be3fef9de4c6292d75ff4a /net-misc/wget
parentVersion bump, bug #381453. (diff)
downloadgentoo-2-51712e8deb8ccdc1244e0b0f633bbe82619d5457.tar.gz
gentoo-2-51712e8deb8ccdc1244e0b0f633bbe82619d5457.tar.bz2
gentoo-2-51712e8deb8ccdc1244e0b0f633bbe82619d5457.zip
Fix compilation on Solaris
(Portage version: 2.2.01.19120-prefix/cvs/SunOS i386)
Diffstat (limited to 'net-misc/wget')
-rw-r--r--net-misc/wget/ChangeLog5
-rw-r--r--net-misc/wget/wget-1.13.3-r1.ebuild5
2 files changed, 8 insertions, 2 deletions
diff --git a/net-misc/wget/ChangeLog b/net-misc/wget/ChangeLog
index a04489e88e00..2f2e714e9217 100644
--- a/net-misc/wget/ChangeLog
+++ b/net-misc/wget/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/wget
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/ChangeLog,v 1.141 2011/09/01 15:15:37 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/ChangeLog,v 1.142 2011/09/01 18:33:59 grobian Exp $
+
+ 01 Sep 2011; Fabian Groffen <grobian@gentoo.org> wget-1.13.3-r1.ebuild:
+ Fix compilation on Solaris
*wget-1.13.3-r1 (01 Sep 2011)
diff --git a/net-misc/wget/wget-1.13.3-r1.ebuild b/net-misc/wget/wget-1.13.3-r1.ebuild
index 87b209f91494..47f5663579d3 100644
--- a/net-misc/wget/wget-1.13.3-r1.ebuild
+++ b/net-misc/wget/wget-1.13.3-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/wget-1.13.3-r1.ebuild,v 1.1 2011/09/01 15:15:37 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/wget/wget-1.13.3-r1.ebuild,v 1.2 2011/09/01 18:33:59 grobian Exp $
EAPI=4
@@ -31,6 +31,9 @@ src_prepare() {
src_configure() {
# openssl-0.9.8 now builds with -pthread on the BSD's
use elibc_FreeBSD && use ssl && append-ldflags -pthread
+ # fix compilation on Solaris, we need filio.h for FIONBIO as used in
+ # the included gnutls -- force ioctl.h to include this header
+ [[ ${CHOST} == *-solaris* ]] && append-flags -DBSD_COMP=1
use static && append-ldflags -static
econf \