summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul de Vrieze <pauldv@gentoo.org>2006-05-21 10:29:17 +0000
committerPaul de Vrieze <pauldv@gentoo.org>2006-05-21 10:29:17 +0000
commit3f7e130c25176bae0dead2e9330c14d75a795c3f (patch)
tree6badd5e40a8aab57302a34ab3f076b414ac35265 /net-nntp
parentActually make sure that the static archives do not linger behind. Also make t... (diff)
downloadgentoo-2-3f7e130c25176bae0dead2e9330c14d75a795c3f.tar.gz
gentoo-2-3f7e130c25176bae0dead2e9330c14d75a795c3f.tar.bz2
gentoo-2-3f7e130c25176bae0dead2e9330c14d75a795c3f.zip
Make klibido compile with later db versions
(Portage version: 2.1_rc1-r2)
Diffstat (limited to 'net-nntp')
-rw-r--r--net-nntp/klibido/ChangeLog8
-rw-r--r--net-nntp/klibido/files/digest-klibido-0.2.4.12
-rw-r--r--net-nntp/klibido/klibido-0.2.4.1.ebuild23
3 files changed, 24 insertions, 9 deletions
diff --git a/net-nntp/klibido/ChangeLog b/net-nntp/klibido/ChangeLog
index 91f291971bea..1268808e7685 100644
--- a/net-nntp/klibido/ChangeLog
+++ b/net-nntp/klibido/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-nntp/klibido
-# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/klibido/ChangeLog,v 1.16 2005/11/17 08:50:46 flameeyes Exp $
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/klibido/ChangeLog,v 1.17 2006/05/21 10:29:17 pauldv Exp $
+
+ 21 May 2006; <pauldv@gentoo.org> klibido-0.2.4.1.ebuild:
+ Make klibido work with later db versions. Fixes bug #133587. It uses
+ db-use.eclass
17 Nov 2005; Diego Pettenò <flameeyes@gentoo.org>
klibido-0.2.3-r1.ebuild, klibido-0.2.4.1.ebuild:
diff --git a/net-nntp/klibido/files/digest-klibido-0.2.4.1 b/net-nntp/klibido/files/digest-klibido-0.2.4.1
index 4225e6541b3b..c9910d49e9a8 100644
--- a/net-nntp/klibido/files/digest-klibido-0.2.4.1
+++ b/net-nntp/klibido/files/digest-klibido-0.2.4.1
@@ -1 +1,3 @@
MD5 111a6e714509d0619a0b29e20a4ded65 klibido-0.2.4.1.tar.gz 798084
+RMD160 52b09d4af13ab261677204ff68fb5c94445c5a41 klibido-0.2.4.1.tar.gz 798084
+SHA256 c8a1d015b929490cb18fa9deff876a3ce4b3c17ea4ed91783d83302782efcaf1 klibido-0.2.4.1.tar.gz 798084
diff --git a/net-nntp/klibido/klibido-0.2.4.1.ebuild b/net-nntp/klibido/klibido-0.2.4.1.ebuild
index c01aefff2039..3776692a8fe1 100644
--- a/net-nntp/klibido/klibido-0.2.4.1.ebuild
+++ b/net-nntp/klibido/klibido-0.2.4.1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-nntp/klibido/klibido-0.2.4.1.ebuild,v 1.2 2005/11/17 08:50:46 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-nntp/klibido/klibido-0.2.4.1.ebuild,v 1.3 2006/05/21 10:29:17 pauldv Exp $
-inherit kde versionator
+inherit kde db-use
DESCRIPTION="KDE Linux Binaries Downloader"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
@@ -19,13 +19,22 @@ DEPEND="${RDEPEND}
need-kde 3
+src_unpack() {
+ kde_src_unpack
+ dbincldir="$(db_includedir 4.4 4.3 4.2 4.1)" || die "unable to find db"
+ einfo "db include dir = ${dbincldir}"
+ if [ ! -d ${dbincldir} ]; then
+ die "Db include dir does not exist"
+ fi
+ sed -i -e "s,-I/usr/include/db4,-I${dbincldir}," ${S}/src/Makefile.am
+ sed -i -e "s,-I/usr/include/db4,-I${dbincldir}," ${S}/src/Makefile.in
+}
+
src_compile() {
- local libdbver="$(best_version sys-libs/db)"
- libdbver="${libdbver/sys-libs\/db-/}"
- libdbver="$(get_version_component_range 1-2 ${libdbver})"
+# dbincldir="$(db_includedir 4.4 4.3 4.2 4.1)" || die "unable to find db"
+# --with-extra-includes="${dbincldir}/"
myconf="${myconf}
- --with-extra-includes=/usr/include/db${libdbver}/
$(use_enable debug)
"
kde_src_compile