From ae1f912e8a97241956d53f456d89ad94fd50c471 Mon Sep 17 00:00:00 2001 From: Chris White Date: Sat, 3 Sep 2005 01:02:57 +0000 Subject: [PATCH] Ok first off, I made uinit32.h actually get installed. If it's not, cdb.h cries about not having it. Also, I installed cdb.a and symlinked it to libcdb.a, as there's programs that check for cdb.a and will break if it's not there. Symlink so -lcdb doesn't break as well. Package-Manager: portage-2.0.51.22-r2 --- dev-db/cdb/ChangeLog | 8 +++++++- dev-db/cdb/Manifest | 14 ++++++++++++-- dev-db/cdb/cdb-0.75.ebuild | 16 +++++++++++++--- 3 files changed, 32 insertions(+), 6 deletions(-) diff --git a/dev-db/cdb/ChangeLog b/dev-db/cdb/ChangeLog index 3308ca310019..07e0b271cd3f 100644 --- a/dev-db/cdb/ChangeLog +++ b/dev-db/cdb/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-db/cdb # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/cdb/ChangeLog,v 1.16 2005/08/28 20:04:53 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/cdb/ChangeLog,v 1.17 2005/09/03 01:02:57 chriswhite Exp $ + + 03 Sep 2005; Chris White cdb-0.75.ebuild: + Ok first off, I made uinit32.h actually get installed. If it's not, cdb.h + cries about not having it. Also, I installed cdb.a and symlinked it to + libcdb.a, as there's programs that check for cdb.a and will break if it's + not there. Symlink so -lcdb doesn't break as well. 28 Aug 2005; Fabian Groffen cdb-0.75.ebuild: Marking ~ppc-macos (bug #87701) diff --git a/dev-db/cdb/Manifest b/dev-db/cdb/Manifest index 7e51461710d2..c71142324855 100644 --- a/dev-db/cdb/Manifest +++ b/dev-db/cdb/Manifest @@ -1,4 +1,14 @@ -MD5 8709ac7967095f30e74de756c3db8d21 cdb-0.75.ebuild 1187 -MD5 8c2d5b8f14b4a0de52ec9f3c29682ba0 ChangeLog 1947 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 3f2ad841cbbd0af4e79999405d1200a0 ChangeLog 2297 +MD5 1a8df4ef456de44c6bdb37e42f52c2b4 cdb-0.75.ebuild 1514 MD5 1a3e347b6ebfe24f60f255100a2af4a0 files/cdb-0.75-errno.diff 243 MD5 7f28ce1d896bd4416c27bb55d6f63cdf files/digest-cdb-0.75 59 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD8DBQFDGO8eFdQwWVoAgN4RAoA/AKDSdYFxI7RwOOYK/LAht2bOwKD/tACcDvBg +5Tjv4cEsy/aaz+eoB1+1jqk= +=Tx2P +-----END PGP SIGNATURE----- diff --git a/dev-db/cdb/cdb-0.75.ebuild b/dev-db/cdb/cdb-0.75.ebuild index 996cede11b64..dc786d22c024 100644 --- a/dev-db/cdb/cdb-0.75.ebuild +++ b/dev-db/cdb/cdb-0.75.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/cdb/cdb-0.75.ebuild,v 1.22 2005/08/28 20:04:53 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-db/cdb/cdb-0.75.ebuild,v 1.23 2005/09/03 01:02:57 chriswhite Exp $ inherit eutils toolchain-funcs @@ -38,9 +38,19 @@ src_compile() { src_install() { dobin cdbdump cdbget cdbmake cdbmake-12 cdbmake-sv cdbstats cdbtest || \ die "dobin failed" - newlib.a cdb.a libcdb.a || die "newlib.a failed" + + # ok so.. first off, some automakes fail at not finding + # cdb.a, so install that + dolib cdb.a + + # then do this pretty little symlinking to solve the somewhat + # cosmetic library issue at hand + dosym /usr/$(get_libdir)/cdb.a /usr/$(get_libdir)/libcdb.a || die "newlib.a failed" + + # uint32.h needs installation too, otherwise compiles depending + # on it will fail insinto /usr/include - doins cdb.h || die "doins failed" + doins cdb.h uint32.h || die "doins failed" dodoc CHANGES FILES README SYSDEPS TARGETS TODO VERSION || \ die "dodoc failed" -- 2.26.2