diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-07-14 11:35:38 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-07-14 11:35:38 +0000 |
commit | ff80216e6f6f925c2f95022c09f446bab79f5a14 (patch) | |
tree | 79fa55c38fc59e9a04f19c19c7daf1c9e341a918 /net-p2p/syrep/syrep-0.9.ebuild | |
parent | Version Bump to solve #320947. (diff) | |
download | historical-ff80216e6f6f925c2f95022c09f446bab79f5a14.tar.gz historical-ff80216e6f6f925c2f95022c09f446bab79f5a14.tar.bz2 historical-ff80216e6f6f925c2f95022c09f446bab79f5a14.zip |
Fix BerkDB detection code to be compatible with 5.0 wrt #319953 by Diego E. Pettenò.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'net-p2p/syrep/syrep-0.9.ebuild')
-rw-r--r-- | net-p2p/syrep/syrep-0.9.ebuild | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/net-p2p/syrep/syrep-0.9.ebuild b/net-p2p/syrep/syrep-0.9.ebuild index 7424b3d1e93f..a47fa2bd8718 100644 --- a/net-p2p/syrep/syrep-0.9.ebuild +++ b/net-p2p/syrep/syrep-0.9.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/syrep/syrep-0.9.ebuild,v 1.1 2008/01/16 16:06:54 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-p2p/syrep/syrep-0.9.ebuild,v 1.2 2010/07/14 11:35:38 ssuominen Exp $ -inherit eutils autotools +EAPI=2 +inherit autotools DESCRIPTION="A p2p generic file repository synchronization tool that may be used to synchronize large file hierarchies bidirectionally by exchanging patch files." HOMEPAGE="http://0pointer.de/lennart/projects/syrep/" @@ -10,34 +11,31 @@ SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86" +KEYWORDS="~amd64 ~x86" IUSE="doc" DEPEND="sys-libs/zlib >=sys-libs/db-4.3 doc? ( www-client/lynx )" -src_unpack() { - unpack ${A} - cd "${S}" - - sed -i -e "s/#if (DB_VERSION_MAJOR != 4).*/#if (DB_VERSION_MAJOR != 4)/" configure.ac - +src_prepare() { + sed -i \ + -e "s/#if (DB_VERSION_MAJOR != 4).*/#if (DB_VERSION_MAJOR < 4)/" \ + configure.ac || die eautoreconf } -src_compile() { + +src_configure() { econf \ $(use_enable doc lynx) \ --disable-xmltoman \ --disable-subversion \ - --disable-gengetopt \ - || die "econf failed" - emake || die "emake failed" + --disable-gengetopt } src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - cd "${S}"/doc + emake DESTDIR="${D}" install || die + cd doc dodoc README *.txt use doc && dohtml *.html *.css } |