diff options
author | Michael Stewart <vericgar@gentoo.org> | 2005-09-18 00:25:23 +0000 |
---|---|---|
committer | Michael Stewart <vericgar@gentoo.org> | 2005-09-18 00:25:23 +0000 |
commit | 60d4c67b9ff80fb75b9289e97214e3a312a3b1ef (patch) | |
tree | 54e3ffd41391362cbf774d8ca66cb5afc9a3bd76 /dev-libs/apr | |
parent | Removed mcummings from metadata. (Bug #105718) (diff) | |
download | gentoo-2-60d4c67b9ff80fb75b9289e97214e3a312a3b1ef.tar.gz gentoo-2-60d4c67b9ff80fb75b9289e97214e3a312a3b1ef.tar.bz2 gentoo-2-60d4c67b9ff80fb75b9289e97214e3a312a3b1ef.zip |
Removing old revisions that use broken LFS-support
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-libs/apr')
-rw-r--r-- | dev-libs/apr/ChangeLog | 7 | ||||
-rw-r--r-- | dev-libs/apr/apr-0.9.5-r1.ebuild | 77 | ||||
-rw-r--r-- | dev-libs/apr/apr-0.9.5-r2.ebuild | 79 | ||||
-rw-r--r-- | dev-libs/apr/apr-0.9.5-r3.ebuild | 48 | ||||
-rw-r--r-- | dev-libs/apr/apr-0.9.5.ebuild | 74 | ||||
-rw-r--r-- | dev-libs/apr/apr-0.9.6-r1.ebuild | 77 | ||||
-rw-r--r-- | dev-libs/apr/apr-0.9.6-r2.ebuild | 79 | ||||
-rw-r--r-- | dev-libs/apr/apr-0.9.6.ebuild | 74 | ||||
-rw-r--r-- | dev-libs/apr/files/digest-apr-0.9.5 | 1 | ||||
-rw-r--r-- | dev-libs/apr/files/digest-apr-0.9.5-r1 | 1 | ||||
-rw-r--r-- | dev-libs/apr/files/digest-apr-0.9.5-r2 | 1 | ||||
-rw-r--r-- | dev-libs/apr/files/digest-apr-0.9.5-r3 | 1 | ||||
-rw-r--r-- | dev-libs/apr/files/digest-apr-0.9.6 | 1 | ||||
-rw-r--r-- | dev-libs/apr/files/digest-apr-0.9.6-r1 | 1 | ||||
-rw-r--r-- | dev-libs/apr/files/digest-apr-0.9.6-r2 | 1 |
15 files changed, 6 insertions, 516 deletions
diff --git a/dev-libs/apr/ChangeLog b/dev-libs/apr/ChangeLog index 330d6b840a00..8a8cf11dabc0 100644 --- a/dev-libs/apr/ChangeLog +++ b/dev-libs/apr/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-libs/apr # Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v 1.37 2005/09/18 00:12:14 vericgar Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/ChangeLog,v 1.38 2005/09/18 00:25:23 vericgar Exp $ + + 18 Sep 2005; Michael Stewart <vericgar@gentoo.org> -apr-0.9.5.ebuild, + -apr-0.9.5-r1.ebuild, -apr-0.9.5-r2.ebuild, -apr-0.9.5-r3.ebuild, + -apr-0.9.6.ebuild, -apr-0.9.6-r1.ebuild, -apr-0.9.6-r2.ebuild: + Removing old revisions that use broken LFS-support *apr-0.9.6-r4 (17 Sep 2005) diff --git a/dev-libs/apr/apr-0.9.5-r1.ebuild b/dev-libs/apr/apr-0.9.5-r1.ebuild deleted file mode 100644 index 3c352d35fd8c..000000000000 --- a/dev-libs/apr/apr-0.9.5-r1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-0.9.5-r1.ebuild,v 1.2 2005/03/14 00:29:18 beu Exp $ - -inherit flag-o-matic - -DESCRIPTION="Apache Portable Runtime Library" -HOMEPAGE="http://apr.apache.org/" -SRC_URI="mirror://apache/apr/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="ipv6" -RESTRICT="test" - -DEPEND="" - -# this function shall maybe go into flag-o-matic.eclass -lfs-flags() { - echo -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -} - -# returns true, if LFS is supported (and supposed to be bugfree ;) by current system -supports-lfs() { - # sparc has issues with 64bit IO - use sparc && return 1 - - # for some reason (I do not know who wrote this) we do not want LFS on glibc-2.2 - # maybe it's broken then - - has_version '>=sys-libs/glibc-2.3*' && return 0 - has_version '=sys-libs/glibc-2.2*' && return 1 - return 0 -} - -set_filter_flags() { - CFLAGS="${CFLAGS/ / }" - - supports-lfs && append-lfs-flags || filter-lfs-flags -} - -src_compile() { - set_filter_flags - - myconf="--datadir=/usr/share/apr-0" - - myconf="${myconf} $(use_enable ipv6)" - myconf="${myconf} --enable-threads" - myconf="${myconf} --enable-nonportable-atomics" - - econf ${myconf} || die - emake || die -} - -src_install() { - set_filter_flags - - make DESTDIR="${D}" installbuilddir=/usr/share/apr-0/build install || die - - # bogus values pointing at /var/tmp/portage - sed -i -e 's:APR_SOURCE_DIR=.*:APR_SOURCE_DIR=/usr/share/apr-0:g' ${D}/usr/bin/apr-config - sed -i -e 's:APR_BUILD_DIR=.*:APR_BUILD_DIR=/usr/share/apr-0/build:g' ${D}/usr/bin/apr-config - - sed -i -e 's:apr_builddir=.*:apr_builddir=/usr/share/apr-0/build:g' ${D}/usr/share/apr-0/build/apr_rules.mk - sed -i -e 's:apr_builders=.*:apr_builders=/usr/share/apr-0/build:g' ${D}/usr/share/apr-0/build/apr_rules.mk - - # fix apr-config to reflect LFS - supports-lfs && \ - sed -i -e "s:CPPFLAGS=\"\\(.*\\)\":CPPFLAGS=\"\\1 `lfs-flags`\":" ${D}/usr/bin/apr-config - - cp -p build/*.awk ${D}/usr/share/apr-0/build - cp -p build/*.sh ${D}/usr/share/apr-0/build - cp -p build/*.pl ${D}/usr/share/apr-0/build - - dodoc CHANGES LICENSE NOTICE -} diff --git a/dev-libs/apr/apr-0.9.5-r2.ebuild b/dev-libs/apr/apr-0.9.5-r2.ebuild deleted file mode 100644 index 2194e69b8f42..000000000000 --- a/dev-libs/apr/apr-0.9.5-r2.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-0.9.5-r2.ebuild,v 1.3 2005/04/24 08:44:43 vapier Exp $ - -inherit flag-o-matic libtool - -DESCRIPTION="Apache Portable Runtime Library" -HOMEPAGE="http://apr.apache.org/" -SRC_URI="mirror://apache/apr/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="ipv6" -RESTRICT="test" - -DEPEND="" - -# this function shall maybe go into flag-o-matic.eclass -lfs-flags() { - echo -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -} - -# returns true, if LFS is supported (and supposed to be bugfree ;) by current system -supports-lfs() { - # sparc has issues with 64bit IO - use sparc && return 1 - - # for some reason (I do not know who wrote this) we do not want LFS on glibc-2.2 - # maybe it's broken then - - has_version '>=sys-libs/glibc-2.3*' && return 0 - has_version '=sys-libs/glibc-2.2*' && return 1 - return 0 -} - -set_filter_flags() { - CFLAGS="${CFLAGS/ / }" - - supports-lfs && append-lfs-flags || filter-lfs-flags -} - -src_compile() { - elibtoolize || die "elibtoolize failed" - set_filter_flags - - myconf="--datadir=/usr/share/apr-0" - - myconf="${myconf} $(use_enable ipv6)" - myconf="${myconf} --enable-threads" - myconf="${myconf} --enable-nonportable-atomics" - myconf="${myconf} --with-devrandom=/dev/random" - - econf ${myconf} || die - emake || die -} - -src_install() { - set_filter_flags - - make DESTDIR="${D}" installbuilddir=/usr/share/apr-0/build install || die - - # bogus values pointing at /var/tmp/portage - sed -i -e 's:APR_SOURCE_DIR=.*:APR_SOURCE_DIR=/usr/share/apr-0:g' ${D}/usr/bin/apr-config - sed -i -e 's:APR_BUILD_DIR=.*:APR_BUILD_DIR=/usr/share/apr-0/build:g' ${D}/usr/bin/apr-config - - sed -i -e 's:apr_builddir=.*:apr_builddir=/usr/share/apr-0/build:g' ${D}/usr/share/apr-0/build/apr_rules.mk - sed -i -e 's:apr_builders=.*:apr_builders=/usr/share/apr-0/build:g' ${D}/usr/share/apr-0/build/apr_rules.mk - - # fix apr-config to reflect LFS - supports-lfs && \ - sed -i -e "s:CPPFLAGS=\"\\(.*\\)\":CPPFLAGS=\"\\1 `lfs-flags`\":" ${D}/usr/bin/apr-config - - cp -p build/*.awk ${D}/usr/share/apr-0/build - cp -p build/*.sh ${D}/usr/share/apr-0/build - cp -p build/*.pl ${D}/usr/share/apr-0/build - - dodoc CHANGES LICENSE NOTICE -} diff --git a/dev-libs/apr/apr-0.9.5-r3.ebuild b/dev-libs/apr/apr-0.9.5-r3.ebuild deleted file mode 100644 index 47d94fb2a697..000000000000 --- a/dev-libs/apr/apr-0.9.5-r3.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-0.9.5-r3.ebuild,v 1.1 2005/05/09 14:44:25 beu Exp $ - -inherit flag-o-matic libtool - -DESCRIPTION="Apache Portable Runtime Library" -HOMEPAGE="http://apr.apache.org/" -SRC_URI="mirror://apache/apr/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="ipv6" -RESTRICT="test" - -DEPEND="" - -src_compile() { - elibtoolize || die "elibtoolize failed" - - myconf="--datadir=/usr/share/apr-0" - - myconf="${myconf} $(use_enable ipv6)" - myconf="${myconf} --enable-threads" - myconf="${myconf} --enable-nonportable-atomics" - myconf="${myconf} --with-devrandom=/dev/random" - - econf ${myconf} || die - emake || die -} - -src_install() { - make DESTDIR="${D}" installbuilddir=/usr/share/apr-0/build install || die - - # bogus values pointing at /var/tmp/portage - sed -i -e 's:APR_SOURCE_DIR=.*:APR_SOURCE_DIR=/usr/share/apr-0:g' ${D}/usr/bin/apr-config - sed -i -e 's:APR_BUILD_DIR=.*:APR_BUILD_DIR=/usr/share/apr-0/build:g' ${D}/usr/bin/apr-config - - sed -i -e 's:apr_builddir=.*:apr_builddir=/usr/share/apr-0/build:g' ${D}/usr/share/apr-0/build/apr_rules.mk - sed -i -e 's:apr_builders=.*:apr_builders=/usr/share/apr-0/build:g' ${D}/usr/share/apr-0/build/apr_rules.mk - - cp -p build/*.awk ${D}/usr/share/apr-0/build - cp -p build/*.sh ${D}/usr/share/apr-0/build - cp -p build/*.pl ${D}/usr/share/apr-0/build - - dodoc CHANGES LICENSE NOTICE -} diff --git a/dev-libs/apr/apr-0.9.5.ebuild b/dev-libs/apr/apr-0.9.5.ebuild deleted file mode 100644 index 17e88e894563..000000000000 --- a/dev-libs/apr/apr-0.9.5.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-0.9.5.ebuild,v 1.15 2005/09/10 11:20:58 agriffis Exp $ - -inherit flag-o-matic - -DESCRIPTION="Apache Portable Runtime Library" -HOMEPAGE="http://apr.apache.org/" -SRC_URI="mirror://apache/apr/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="alpha ~amd64 ~arm ~hppa ia64 ~mips ~ppc ppc64 ~sparc ~x86" -IUSE="ipv6" -RESTRICT="test" - -DEPEND="" - -# this function shall maybe go into flag-o-matic.eclass -lfs-flags() { - echo -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -} - -# returns true, if LFS is supported (and supposed to be bugfree ;) by current system -supports-lfs() { - # for some reason (I do not know who wrote this) we do not want LFS on glibc-2.2 - # maybe it's broken then - - has_version '>=sys-libs/glibc-2.3*' && return 0 - has_version '=sys-libs/glibc-2.2*' && return 1 - return 0 -} - -set_filter_flags() { - CFLAGS="${CFLAGS/ / }" - - supports-lfs && append-lfs-flags || filter-lfs-flags -} - -src_compile() { - set_filter_flags - - myconf="--datadir=/usr/share/apr-0" - - myconf="${myconf} $(use_enable ipv6)" - myconf="${myconf} --enable-threads" - myconf="${myconf} --enable-nonportable-atomics" - - econf ${myconf} || die - emake || die -} - -src_install() { - set_filter_flags - - make DESTDIR="${D}" installbuilddir=/usr/share/apr-0/build install || die - - # bogus values pointing at /var/tmp/portage - sed -i -e 's:APR_SOURCE_DIR=.*:APR_SOURCE_DIR=/usr/share/apr-0:g' ${D}/usr/bin/apr-config - sed -i -e 's:APR_BUILD_DIR=.*:APR_BUILD_DIR=/usr/share/apr-0/build:g' ${D}/usr/bin/apr-config - - sed -i -e 's:apr_builddir=.*:apr_builddir=/usr/share/apr-0/build:g' ${D}/usr/share/apr-0/build/apr_rules.mk - sed -i -e 's:apr_builders=.*:apr_builders=/usr/share/apr-0/build:g' ${D}/usr/share/apr-0/build/apr_rules.mk - - # fix apr-config to reflect LFS - supports-lfs && \ - sed -i -e "s:CPPFLAGS=\"\\(.*\\)\":CPPFLAGS=\"\\1 `lfs-flags`\":" ${D}/usr/bin/apr-config - - cp -p build/*.awk ${D}/usr/share/apr-0/build - cp -p build/*.sh ${D}/usr/share/apr-0/build - cp -p build/*.pl ${D}/usr/share/apr-0/build - - dodoc CHANGES LICENSE NOTICE -} diff --git a/dev-libs/apr/apr-0.9.6-r1.ebuild b/dev-libs/apr/apr-0.9.6-r1.ebuild deleted file mode 100644 index 111ed8236839..000000000000 --- a/dev-libs/apr/apr-0.9.6-r1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-0.9.6-r1.ebuild,v 1.1 2005/03/05 02:24:09 beu Exp $ - -inherit flag-o-matic - -DESCRIPTION="Apache Portable Runtime Library" -HOMEPAGE="http://apr.apache.org/" -SRC_URI="mirror://apache/apr/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="ipv6" -RESTRICT="test" - -DEPEND="" - -# this function shall maybe go into flag-o-matic.eclass -lfs-flags() { - echo -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -} - -# returns true, if LFS is supported (and supposed to be bugfree ;) by current system -supports-lfs() { - # sparc has issues with 64bit IO - use sparc && return 1 - - # for some reason (I do not know who wrote this) we do not want LFS on glibc-2.2 - # maybe it's broken then - - has_version '>=sys-libs/glibc-2.3*' && return 0 - has_version '=sys-libs/glibc-2.2*' && return 1 - return 0 -} - -set_filter_flags() { - CFLAGS="${CFLAGS/ / }" - - supports-lfs && append-lfs-flags || filter-lfs-flags -} - -src_compile() { - set_filter_flags - - myconf="--datadir=/usr/share/apr-0" - - myconf="${myconf} $(use_enable ipv6)" - myconf="${myconf} --enable-threads" - myconf="${myconf} --enable-nonportable-atomics" - - econf ${myconf} || die - emake || die -} - -src_install() { - set_filter_flags - - make DESTDIR="${D}" installbuilddir=/usr/share/apr-0/build install || die - - # bogus values pointing at /var/tmp/portage - sed -i -e 's:APR_SOURCE_DIR=.*:APR_SOURCE_DIR=/usr/share/apr-0:g' ${D}/usr/bin/apr-config - sed -i -e 's:APR_BUILD_DIR=.*:APR_BUILD_DIR=/usr/share/apr-0/build:g' ${D}/usr/bin/apr-config - - sed -i -e 's:apr_builddir=.*:apr_builddir=/usr/share/apr-0/build:g' ${D}/usr/share/apr-0/build/apr_rules.mk - sed -i -e 's:apr_builders=.*:apr_builders=/usr/share/apr-0/build:g' ${D}/usr/share/apr-0/build/apr_rules.mk - - # fix apr-config to reflect LFS - supports-lfs && \ - sed -i -e "s:CPPFLAGS=\"\\(.*\\)\":CPPFLAGS=\"\\1 `lfs-flags`\":" ${D}/usr/bin/apr-config - - cp -p build/*.awk ${D}/usr/share/apr-0/build - cp -p build/*.sh ${D}/usr/share/apr-0/build - cp -p build/*.pl ${D}/usr/share/apr-0/build - - dodoc CHANGES LICENSE NOTICE -} diff --git a/dev-libs/apr/apr-0.9.6-r2.ebuild b/dev-libs/apr/apr-0.9.6-r2.ebuild deleted file mode 100644 index a62a84abc107..000000000000 --- a/dev-libs/apr/apr-0.9.6-r2.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-0.9.6-r2.ebuild,v 1.3 2005/04/24 08:40:42 vapier Exp $ - -inherit flag-o-matic libtool - -DESCRIPTION="Apache Portable Runtime Library" -HOMEPAGE="http://apr.apache.org/" -SRC_URI="mirror://apache/apr/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86" -IUSE="ipv6" -RESTRICT="test" - -DEPEND="" - -# this function shall maybe go into flag-o-matic.eclass -lfs-flags() { - echo -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -} - -# returns true, if LFS is supported (and supposed to be bugfree ;) by current system -supports-lfs() { - # sparc has issues with 64bit IO - use sparc && return 1 - - # for some reason (I do not know who wrote this) we do not want LFS on glibc-2.2 - # maybe it's broken then - - has_version '>=sys-libs/glibc-2.3*' && return 0 - has_version '=sys-libs/glibc-2.2*' && return 1 - return 0 -} - -set_filter_flags() { - CFLAGS="${CFLAGS/ / }" - - supports-lfs && append-lfs-flags || filter-lfs-flags -} - -src_compile() { - elibtoolize || die "elibtoolize failed" - set_filter_flags - - myconf="--datadir=/usr/share/apr-0" - - myconf="${myconf} $(use_enable ipv6)" - myconf="${myconf} --enable-threads" - myconf="${myconf} --enable-nonportable-atomics" - myconf="${myconf} --with-devrandom=/dev/random" - - econf ${myconf} || die - emake || die -} - -src_install() { - set_filter_flags - - make DESTDIR="${D}" installbuilddir=/usr/share/apr-0/build install || die - - # bogus values pointing at /var/tmp/portage - sed -i -e 's:APR_SOURCE_DIR=.*:APR_SOURCE_DIR=/usr/share/apr-0:g' ${D}/usr/bin/apr-config - sed -i -e 's:APR_BUILD_DIR=.*:APR_BUILD_DIR=/usr/share/apr-0/build:g' ${D}/usr/bin/apr-config - - sed -i -e 's:apr_builddir=.*:apr_builddir=/usr/share/apr-0/build:g' ${D}/usr/share/apr-0/build/apr_rules.mk - sed -i -e 's:apr_builders=.*:apr_builders=/usr/share/apr-0/build:g' ${D}/usr/share/apr-0/build/apr_rules.mk - - # fix apr-config to reflect LFS - supports-lfs && \ - sed -i -e "s:CPPFLAGS=\"\\(.*\\)\":CPPFLAGS=\"\\1 `lfs-flags`\":" ${D}/usr/bin/apr-config - - cp -p build/*.awk ${D}/usr/share/apr-0/build - cp -p build/*.sh ${D}/usr/share/apr-0/build - cp -p build/*.pl ${D}/usr/share/apr-0/build - - dodoc CHANGES LICENSE NOTICE -} diff --git a/dev-libs/apr/apr-0.9.6.ebuild b/dev-libs/apr/apr-0.9.6.ebuild deleted file mode 100644 index 26ab941e467c..000000000000 --- a/dev-libs/apr/apr-0.9.6.ebuild +++ /dev/null @@ -1,74 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/apr/apr-0.9.6.ebuild,v 1.1 2005/03/02 23:26:57 beu Exp $ - -inherit flag-o-matic - -DESCRIPTION="Apache Portable Runtime Library" -HOMEPAGE="http://apr.apache.org/" -SRC_URI="mirror://apache/apr/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" -IUSE="ipv6" -RESTRICT="test" - -DEPEND="" - -# this function shall maybe go into flag-o-matic.eclass -lfs-flags() { - echo -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -} - -# returns true, if LFS is supported (and supposed to be bugfree ;) by current system -supports-lfs() { - # for some reason (I do not know who wrote this) we do not want LFS on glibc-2.2 - # maybe it's broken then - - has_version '>=sys-libs/glibc-2.3*' && return 0 - has_version '=sys-libs/glibc-2.2*' && return 1 - return 0 -} - -set_filter_flags() { - CFLAGS="${CFLAGS/ / }" - - supports-lfs && append-lfs-flags || filter-lfs-flags -} - -src_compile() { - set_filter_flags - - myconf="--datadir=/usr/share/apr-0" - - myconf="${myconf} $(use_enable ipv6)" - myconf="${myconf} --enable-threads" - myconf="${myconf} --enable-nonportable-atomics" - - econf ${myconf} || die - emake || die -} - -src_install() { - set_filter_flags - - make DESTDIR="${D}" installbuilddir=/usr/share/apr-0/build install || die - - # bogus values pointing at /var/tmp/portage - sed -i -e 's:APR_SOURCE_DIR=.*:APR_SOURCE_DIR=/usr/share/apr-0:g' ${D}/usr/bin/apr-config - sed -i -e 's:APR_BUILD_DIR=.*:APR_BUILD_DIR=/usr/share/apr-0/build:g' ${D}/usr/bin/apr-config - - sed -i -e 's:apr_builddir=.*:apr_builddir=/usr/share/apr-0/build:g' ${D}/usr/share/apr-0/build/apr_rules.mk - sed -i -e 's:apr_builders=.*:apr_builders=/usr/share/apr-0/build:g' ${D}/usr/share/apr-0/build/apr_rules.mk - - # fix apr-config to reflect LFS - supports-lfs && \ - sed -i -e "s:CPPFLAGS=\"\\(.*\\)\":CPPFLAGS=\"\\1 `lfs-flags`\":" ${D}/usr/bin/apr-config - - cp -p build/*.awk ${D}/usr/share/apr-0/build - cp -p build/*.sh ${D}/usr/share/apr-0/build - cp -p build/*.pl ${D}/usr/share/apr-0/build - - dodoc CHANGES LICENSE NOTICE -} diff --git a/dev-libs/apr/files/digest-apr-0.9.5 b/dev-libs/apr/files/digest-apr-0.9.5 deleted file mode 100644 index 8e1b6255ac36..000000000000 --- a/dev-libs/apr/files/digest-apr-0.9.5 +++ /dev/null @@ -1 +0,0 @@ -MD5 f764a8f23c9ae58ca4726f2716a100e7 apr-0.9.5.tar.gz 1021307 diff --git a/dev-libs/apr/files/digest-apr-0.9.5-r1 b/dev-libs/apr/files/digest-apr-0.9.5-r1 deleted file mode 100644 index 8e1b6255ac36..000000000000 --- a/dev-libs/apr/files/digest-apr-0.9.5-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 f764a8f23c9ae58ca4726f2716a100e7 apr-0.9.5.tar.gz 1021307 diff --git a/dev-libs/apr/files/digest-apr-0.9.5-r2 b/dev-libs/apr/files/digest-apr-0.9.5-r2 deleted file mode 100644 index 8e1b6255ac36..000000000000 --- a/dev-libs/apr/files/digest-apr-0.9.5-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 f764a8f23c9ae58ca4726f2716a100e7 apr-0.9.5.tar.gz 1021307 diff --git a/dev-libs/apr/files/digest-apr-0.9.5-r3 b/dev-libs/apr/files/digest-apr-0.9.5-r3 deleted file mode 100644 index 8e1b6255ac36..000000000000 --- a/dev-libs/apr/files/digest-apr-0.9.5-r3 +++ /dev/null @@ -1 +0,0 @@ -MD5 f764a8f23c9ae58ca4726f2716a100e7 apr-0.9.5.tar.gz 1021307 diff --git a/dev-libs/apr/files/digest-apr-0.9.6 b/dev-libs/apr/files/digest-apr-0.9.6 deleted file mode 100644 index 06838c2f0f27..000000000000 --- a/dev-libs/apr/files/digest-apr-0.9.6 +++ /dev/null @@ -1 +0,0 @@ -MD5 b7e4c52cccb421b42a41b0bed5a9f9bc apr-0.9.6.tar.gz 1025231 diff --git a/dev-libs/apr/files/digest-apr-0.9.6-r1 b/dev-libs/apr/files/digest-apr-0.9.6-r1 deleted file mode 100644 index 06838c2f0f27..000000000000 --- a/dev-libs/apr/files/digest-apr-0.9.6-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 b7e4c52cccb421b42a41b0bed5a9f9bc apr-0.9.6.tar.gz 1025231 diff --git a/dev-libs/apr/files/digest-apr-0.9.6-r2 b/dev-libs/apr/files/digest-apr-0.9.6-r2 deleted file mode 100644 index 06838c2f0f27..000000000000 --- a/dev-libs/apr/files/digest-apr-0.9.6-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 b7e4c52cccb421b42a41b0bed5a9f9bc apr-0.9.6.tar.gz 1025231 |