summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2007-01-11 19:50:38 +0000
committerRaúl Porcel <armin76@gentoo.org>2007-01-11 19:50:38 +0000
commit201c02b49a8783e16e68724e1ff78a97114a9c90 (patch)
treeeab5a824f3d4fe0f6335beb4d2dc3d90ca5ea59d /net-p2p/dctc
parentDo it ~sparc so we can play with the latest (diff)
downloadgentoo-2-201c02b49a8783e16e68724e1ff78a97114a9c90.tar.gz
gentoo-2-201c02b49a8783e16e68724e1ff78a97114a9c90.tar.bz2
gentoo-2-201c02b49a8783e16e68724e1ff78a97114a9c90.zip
Fix bug 135320, thanks to Ryan Hill <dirtyepic at gentoo dot org> for the fix
(Portage version: 2.1.1-r2)
Diffstat (limited to 'net-p2p/dctc')
-rw-r--r--net-p2p/dctc/ChangeLog5
-rw-r--r--net-p2p/dctc/dctc-0.85.9.ebuild13
2 files changed, 14 insertions, 4 deletions
diff --git a/net-p2p/dctc/ChangeLog b/net-p2p/dctc/ChangeLog
index 1accb709b86c..c70c806b2986 100644
--- a/net-p2p/dctc/ChangeLog
+++ b/net-p2p/dctc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-p2p/dctc
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/dctc/ChangeLog,v 1.32 2007/01/04 13:35:54 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/dctc/ChangeLog,v 1.33 2007/01/11 19:50:38 armin76 Exp $
+
+ 11 Jan 2007; Raúl Porcel <armin76@gentoo.org> dctc-0.85.9.ebuild:
+ Fix bug 135320, thanks to Ryan Hill <dirtyepic at gentoo dot org> for the fix
04 Jan 2007; Diego Pettenò <flameeyes@gentoo.org> dctc-0.85.9.ebuild:
Fix autotools handling and quoting, patch by Jakub Moc in bug #153269.
diff --git a/net-p2p/dctc/dctc-0.85.9.ebuild b/net-p2p/dctc/dctc-0.85.9.ebuild
index 81fedd310f94..85e70191e992 100644
--- a/net-p2p/dctc/dctc-0.85.9.ebuild
+++ b/net-p2p/dctc/dctc-0.85.9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/dctc/dctc-0.85.9.ebuild,v 1.15 2007/01/04 13:35:54 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/dctc/dctc-0.85.9.ebuild,v 1.16 2007/01/11 19:50:38 armin76 Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
@@ -31,10 +31,17 @@ src_unpack() {
epatch "${FILESDIR}"/dctc-0.85.9-gcc41.patch
eautoreconf
+
+
+ # fix for #26708 (db4 support)
+ local dbfunc="`grep '^#define.*db_env_create' /usr/include/db.h | awk '{print $NF}'`"
+ if [ "${dbfunc}" != "db_env_create" ] ; then
+ sed -i "s:db_env_create:${dbfunc}:g" configure
+ fi
}
src_install() {
- emake DESTDIR="${D}" install || die
- dodoc Documentation/* Documentation/DCextensions/*
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc Documentation/Documentation/* Documentation/Documentation/DCextensions/*
dodoc AUTHORS COPYING ChangeLog INSTALL KNOWN_BUGS NEWS README TODO
}