--- /usr/portage/net-libs/libproxy/libproxy-0.4.10-r1.ebuild 2013-02-25 02:01:24.000000000 -0700 +++ libproxy-0.4.10-r2.ebuild 2013-03-10 11:03:59.010901283 -0600 @@ -5,7 +5,7 @@ EAPI=4 PYTHON_DEPEND="python? 2:2.6" -inherit cmake-utils eutils mono python +inherit cmake-utils eutils flag-o-matic mono python DESCRIPTION="Library for automatic proxy configuration management" HOMEPAGE="http://code.google.com/p/libproxy/" @@ -13,7 +13,7 @@ LICENSE="LGPL-2.1+" SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~arm-linux ~x86-linux" +KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" IUSE="gnome kde mono networkmanager perl python spidermonkey test webkit" # NOTE: mozjs/spidermonkey might still cause problems like #373397 ? @@ -48,9 +48,13 @@ # Fix building with cmake-2.8.10 and USE=mono; in next release; bug #444204 epatch "${FILESDIR}/${P}-cmake-2.8.10.patch" + + epatch "${FILESDIR}"/${P}-macosx.patch } src_configure() { + [[ ${CHOST} == *-solaris* ]] && append-libs -lsocket -lnsl + # WITH_VALA just copies the .vapi file over and needs no deps, # hence always enable it unconditionally local mycmakeargs=(