summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-02-21 21:44:21 +0000
committerMike Frysinger <vapier@gentoo.org>2004-02-21 21:44:21 +0000
commit7f53850225a0f1071d4232273d3ffad59ca55502 (patch)
treea234813fd327c79d3c7b2f648392a2cdce35a8a3 /net-p2p/dctc/dctc-0.85.9.ebuild
parentstable on amd64 for 2004.0 release (Manifest recommit) (diff)
downloadgentoo-2-7f53850225a0f1071d4232273d3ffad59ca55502.tar.gz
gentoo-2-7f53850225a0f1071d4232273d3ffad59ca55502.tar.bz2
gentoo-2-7f53850225a0f1071d4232273d3ffad59ca55502.zip
db4 fix again
Diffstat (limited to 'net-p2p/dctc/dctc-0.85.9.ebuild')
-rw-r--r--net-p2p/dctc/dctc-0.85.9.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-p2p/dctc/dctc-0.85.9.ebuild b/net-p2p/dctc/dctc-0.85.9.ebuild
index d9e100039a4a..260604a1691f 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-2004 Gentoo Technologies, Inc.
# 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.3 2004/02/04 14:19:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/dctc/dctc-0.85.9.ebuild,v 1.4 2004/02/21 21:44:21 vapier Exp $
DESCRIPTION="Direct Connect Text Client, almost famous file share program"
HOMEPAGE="http://ac2i.homelinux.com/dctc/"
@@ -8,7 +8,7 @@ SRC_URI="http://ac2i.homelinux.com/dctc/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~x86 ~ppc"
+KEYWORDS="x86 ppc"
DEPEND="=dev-libs/glib-2*
>=sys-libs/db-3
@@ -18,7 +18,7 @@ src_unpack() {
unpack ${A}
cd ${S}
# fix for #26708 (db4 support)
- local dbfunc="`nm /usr/lib/libdb.so | grep \ db_env_create | awk '{print $3}'`"
+ 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