diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-10 16:46:18 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-08-10 16:46:18 +0000 |
commit | 96ee55117e4de56b9cda105028bb5d8b1eb69fec (patch) | |
tree | 86b275088b8f99aab9b97e1e8dd8811ffc8cea57 /dev-libs/apr | |
parent | Fix building with GCC 4.4+ wrt #277422. (diff) | |
download | gentoo-2-96ee55117e4de56b9cda105028bb5d8b1eb69fec.tar.gz gentoo-2-96ee55117e4de56b9cda105028bb5d8b1eb69fec.tar.bz2 gentoo-2-96ee55117e4de56b9cda105028bb5d8b1eb69fec.zip |
Rename "cloexec" USE flag to "older-kernels-compatibility" (bug #280648).
(Portage version: 13976-svn/cvs/Linux x86_64)
Diffstat (limited to 'dev-libs/apr')
-rw-r--r-- | dev-libs/apr/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/apr/apr-1.3.8.ebuild | 15 | ||||
-rw-r--r-- | dev-libs/apr/metadata.xml | 2 |
3 files changed, 13 insertions, 10 deletions
diff --git a/dev-libs/apr/ChangeLog b/dev-libs/apr/ChangeLog index 2da3b831b4c3..52325020a436 100644 --- a/dev-libs/apr/ChangeLog +++ b/dev-libs/apr/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/apr # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v 1.138 2009/08/10 15:57:39 klausman Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v 1.139 2009/08/10 16:46:18 arfrever Exp $ + + 10 Aug 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + apr-1.3.8.ebuild, metadata.xml: + Rename "cloexec" USE flag to "older-kernels-compatibility" (bug #280648). 10 Aug 2009; Tobias Klausmann <klausman@gentoo.org> apr-1.3.8.ebuild: Stable on alpha, bug #280514 diff --git a/dev-libs/apr/apr-1.3.8.ebuild b/dev-libs/apr/apr-1.3.8.ebuild index 7f91279564c5..82b7a553d407 100644 --- a/dev-libs/apr/apr-1.3.8.ebuild +++ b/dev-libs/apr/apr-1.3.8.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.3.8.ebuild,v 1.6 2009/08/10 15:57:39 klausman Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.3.8.ebuild,v 1.7 2009/08/10 16:46:18 arfrever Exp $ EAPI="2" @@ -13,7 +13,7 @@ SRC_URI="mirror://apache/apr/${P}.tar.gz" LICENSE="Apache-2.0" SLOT="1" KEYWORDS="alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd" -IUSE="+cloexec debug doc +urandom" +IUSE="debug doc older-kernels-compatibility +urandom" RESTRICT="test" DEPEND="doc? ( app-doc/doxygen )" @@ -29,9 +29,12 @@ src_prepare() { src_configure() { local myconf - if ! use cloexec; then - export apr_cv_sock_cloexec="no" + if use older-kernels-compatibility; then + local apr_cv_accept4 apr_cv_dup3 apr_cv_epoll_create1 apr_cv_sock_cloexec + export apr_cv_accept4="no" + export apr_cv_dup3="no" export apr_cv_epoll_create1="no" + export apr_cv_sock_cloexec="no" fi if use debug; then @@ -53,10 +56,6 @@ src_configure() { sed -i 's,$(apr_builddir)/libtool,/usr/bin/libtool,' build/apr_rules.mk sed -i 's,${installbuilddir}/libtool,/usr/bin/libtool,' apr-1-config rm -f libtool - - if ! use cloexec; then - unset apr_cv_sock_cloexec apr_cv_epoll_create1 - fi } src_compile() { diff --git a/dev-libs/apr/metadata.xml b/dev-libs/apr/metadata.xml index 55b5530ed153..5435cb0a2a47 100644 --- a/dev-libs/apr/metadata.xml +++ b/dev-libs/apr/metadata.xml @@ -6,7 +6,7 @@ <email>apache-bugs@gentoo.org</email> </maintainer> <use> - <flag name='cloexec'>Support for SOCK_CLOEXEC</flag> + <flag name='older-kernels-compatibility'>Enable binary compatibility with older kernels</flag> <flag name='urandom'>Use /dev/urandom instead of /dev/random</flag> </use> </pkgmetadata> |