diff options
Diffstat (limited to 'dev-libs/apr')
-rw-r--r-- | dev-libs/apr/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/apr/apr-1.4.5.ebuild | 91 | ||||
-rw-r--r-- | dev-libs/apr/apr-1.5.0.ebuild (renamed from dev-libs/apr/apr-1.4.6-r1.ebuild) | 19 | ||||
-rw-r--r-- | dev-libs/apr/files/apr-1.5.0-mint.patch | 22 | ||||
-rw-r--r-- | dev-libs/apr/metadata.xml | 1 |
5 files changed, 36 insertions, 106 deletions
diff --git a/dev-libs/apr/ChangeLog b/dev-libs/apr/ChangeLog index 7c53c7abca7b..e73b9cc11173 100644 --- a/dev-libs/apr/ChangeLog +++ b/dev-libs/apr/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-libs/apr # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v 1.201 2013/08/18 13:28:49 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v 1.202 2013/11/20 18:48:47 polynomial-c Exp $ + +*apr-1.5.0 (20 Nov 2013) + + 20 Nov 2013; Lars Wendler <polynomial-c@gentoo.org> -apr-1.4.5.ebuild, + -apr-1.4.6-r1.ebuild, +apr-1.5.0.ebuild, +files/apr-1.5.0-mint.patch, + metadata.xml: + Version bump. Removed old. 18 Aug 2013; Agostino Sarubbo <ago@gentoo.org> apr-1.4.8-r1.ebuild: Stable for x86, wrt bug #477296 diff --git a/dev-libs/apr/apr-1.4.5.ebuild b/dev-libs/apr/apr-1.4.5.ebuild deleted file mode 100644 index 8a243ad11bd9..000000000000 --- a/dev-libs/apr/apr-1.4.5.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.4.5.ebuild,v 1.8 2011/11/11 19:17:50 hwoarang Exp $ - -EAPI="4" - -inherit autotools eutils libtool multilib - -DESCRIPTION="Apache Portable Runtime Library" -HOMEPAGE="http://apr.apache.org/" -SRC_URI="mirror://apache/apr/${P}.tar.bz2" - -LICENSE="Apache-2.0" -SLOT="1" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd" -IUSE="doc elibc_FreeBSD older-kernels-compatibility static-libs +urandom +uuid" -RESTRICT="test" - -RDEPEND="uuid? ( !elibc_FreeBSD? ( >=sys-apps/util-linux-2.16 ) )" -DEPEND="${RDEPEND} - doc? ( app-doc/doxygen )" - -DOCS=(CHANGES NOTICE README) - -src_prepare() { - # Ensure that system libtool is used. - sed -e 's:${installbuilddir}/libtool:/usr/bin/libtool:' -i apr-config.in || die "sed failed" - sed -e 's:@LIBTOOL@:$(SHELL) /usr/bin/libtool:' -i build/apr_rules.mk.in || die "sed failed" - - AT_M4DIR="build" eautoreconf - elibtoolize - - epatch "${FILESDIR}/config.layout.patch" -} - -src_configure() { - local myconf - - 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 urandom; then - myconf+=" --with-devrandom=/dev/urandom" - else - myconf+=" --with-devrandom=/dev/random" - fi - - if ! use uuid; then - local apr_cv_osuuid - export apr_cv_osuuid="no" - fi - - CONFIG_SHELL="/bin/bash" econf \ - --enable-layout=gentoo \ - --enable-nonportable-atomics \ - --enable-threads \ - ${myconf} - - rm -f libtool -} - -src_compile() { - emake - - if use doc; then - emake dox - fi -} - -src_install() { - default - - find "${ED}" -name "*.la" -exec rm -f {} + - - if use doc; then - dohtml -r docs/dox/html/* - fi - - if ! use static-libs; then - find "${ED}" -name "*.a" -exec rm -f {} + - fi - - # This file is only used on AIX systems, which Gentoo is not, - # and causes collisions between the SLOTs, so remove it. - rm -f "${ED}usr/$(get_libdir)/apr.exp" -} diff --git a/dev-libs/apr/apr-1.4.6-r1.ebuild b/dev-libs/apr/apr-1.5.0.ebuild index c733820e04db..58753efaac3e 100644 --- a/dev-libs/apr/apr-1.4.6-r1.ebuild +++ b/dev-libs/apr/apr-1.5.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.4.6-r1.ebuild,v 1.3 2013/02/20 22:59:30 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-1.5.0.ebuild,v 1.1 2013/11/20 18:48:47 polynomial-c Exp $ EAPI="4" @@ -12,20 +12,18 @@ SRC_URI="mirror://apache/apr/${P}.tar.bz2" LICENSE="Apache-2.0" SLOT="1" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~ppc-aix ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="doc elibc_FreeBSD older-kernels-compatibility static-libs +urandom +uuid" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc elibc_FreeBSD older-kernels-compatibility static-libs +urandom" -RDEPEND="uuid? ( - elibc_glibc? ( >=sys-apps/util-linux-2.16 ) - elibc_mintlib? ( >=sys-apps/util-linux-2.18 ) -)" +RDEPEND="elibc_glibc? ( >=sys-apps/util-linux-2.16 ) + elibc_mintlib? ( >=sys-apps/util-linux-2.18 )" DEPEND="${RDEPEND} doc? ( app-doc/doxygen )" DOCS=(CHANGES NOTICE README) src_prepare() { - epatch "${FILESDIR}"/${P}-mint.patch + epatch "${FILESDIR}"/${PN}-1.5.0-mint.patch # Ensure that system libtool is used. local g= @@ -83,11 +81,6 @@ src_configure() { esac fi - if ! use uuid; then - local apr_cv_osuuid - export apr_cv_osuuid="no" - fi - CONFIG_SHELL="${EPREFIX}"/bin/bash econf \ --enable-layout=gentoo \ --enable-nonportable-atomics \ diff --git a/dev-libs/apr/files/apr-1.5.0-mint.patch b/dev-libs/apr/files/apr-1.5.0-mint.patch new file mode 100644 index 000000000000..cfe039e962c6 --- /dev/null +++ b/dev-libs/apr/files/apr-1.5.0-mint.patch @@ -0,0 +1,22 @@ +--- apr-1.5.0/build/apr_hints.m4 ++++ apr-1.5.0/build/apr_hints.m4 +@@ -45,6 +45,8 @@ + case "$host" in + *mint) + APR_ADDTO(CPPFLAGS, [-DMINT -D_GNU_SOURCE]) ++ apr_cv_pthreads_cflags="none" ++ apr_cv_pthreads_lib="-lpthread" + ;; + *MPE/iX*) + APR_ADDTO(CPPFLAGS, [-DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE]) +--- apr-1.5.0/build/apr_threads.m4 ++++ apr-1.5.0/build/apr_threads.m4 +@@ -198,7 +198,7 @@ + AC_DEFUN([APR_CHECK_SIGWAIT_ONE_ARG], [ + AC_CACHE_CHECK(whether sigwait takes one argument,ac_cv_sigwait_one_arg,[ + AC_TRY_COMPILE([ +-#if defined(__NETBSD__) || defined(DARWIN) ++#if defined(__NETBSD__) || defined(DARWIN) || defined(MINT) + /* When using the unproven-pthreads package, we need to pull in this + * header to get a prototype for sigwait(). Else things will fail later + * on. XXX Should probably be fixed in the unproven-pthreads package. diff --git a/dev-libs/apr/metadata.xml b/dev-libs/apr/metadata.xml index d828a17e49df..35b4bf8186fd 100644 --- a/dev-libs/apr/metadata.xml +++ b/dev-libs/apr/metadata.xml @@ -8,6 +8,5 @@ <use> <flag name="older-kernels-compatibility">Enable binary compatibility with older kernels</flag> <flag name="urandom">Use /dev/urandom instead of /dev/random</flag> - <flag name="uuid">Enable UUID support</flag> </use> </pkgmetadata> |