summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2003-11-21 07:49:26 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2003-11-21 07:49:26 +0000
commit9bac8cc85d6e29a41986b981eec36dc2416da774 (patch)
tree12da99b3079c60cda052c9aaab248c18c0513a78 /dev-db/cdb
parentbump to stable (diff)
downloadgentoo-2-9bac8cc85d6e29a41986b981eec36dc2416da774.tar.gz
gentoo-2-9bac8cc85d6e29a41986b981eec36dc2416da774.tar.bz2
gentoo-2-9bac8cc85d6e29a41986b981eec36dc2416da774.zip
use sed -i to change head -1 to head -n 1 in Makefile (bug 33980); more error checking/messages
Diffstat (limited to 'dev-db/cdb')
-rw-r--r--dev-db/cdb/ChangeLog6
-rw-r--r--dev-db/cdb/Manifest4
-rw-r--r--dev-db/cdb/cdb-0.75.ebuild17
3 files changed, 19 insertions, 8 deletions
diff --git a/dev-db/cdb/ChangeLog b/dev-db/cdb/ChangeLog
index c54f65bb3cc2..8e583bb3855d 100644
--- a/dev-db/cdb/ChangeLog
+++ b/dev-db/cdb/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-db/cdb
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/cdb/ChangeLog,v 1.6 2003/08/16 11:24:42 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/cdb/ChangeLog,v 1.7 2003/11/21 07:49:23 mr_bones_ Exp $
+
+ 20 Nov 2003; Michael Sterrett <mr_bones_@gentoo.org> cdb-0.75.ebuild:
+ use sed -i to change head -1 to head -n 1 in Makefile (bug 33980); more error
+ checking/messages
16 Aug 2003; Tavis Ormandy <taviso@gentoo.org> cdb-0.75.ebuild:
Stable on alpha
diff --git a/dev-db/cdb/Manifest b/dev-db/cdb/Manifest
index d45354fafbb4..a129e4b52a28 100644
--- a/dev-db/cdb/Manifest
+++ b/dev-db/cdb/Manifest
@@ -1,4 +1,4 @@
-MD5 45472a7ffe85ddc1b13ed1901c044e64 cdb-0.75.ebuild 950
-MD5 8f9f2563b67dc9d1b14dbb2e8ae0caf7 ChangeLog 1083
+MD5 3df1ea570e5e712d79ea0a33d70b34de ChangeLog 1259
+MD5 00a5784e5412b138e83676ef7b77b568 cdb-0.75.ebuild 1152
MD5 1a3e347b6ebfe24f60f255100a2af4a0 files/cdb-0.75-errno.diff 243
MD5 e12a5f4b22dc861bd7cc05280295e806 files/digest-cdb-0.75 186
diff --git a/dev-db/cdb/cdb-0.75.ebuild b/dev-db/cdb/cdb-0.75.ebuild
index f26c17fddd21..be18e502a0bf 100644
--- a/dev-db/cdb/cdb-0.75.ebuild
+++ b/dev-db/cdb/cdb-0.75.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# 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.11 2003/11/14 21:24:44 seemant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/cdb/cdb-0.75.ebuild,v 1.12 2003/11/21 07:49:23 mr_bones_ Exp $
inherit eutils gcc
@@ -13,6 +13,7 @@ SLOT="0"
KEYWORDS="x86 alpha"
DEPEND=">=sys-apps/portage-2.0.47-r10
+ >=sys-apps/sed-4
app-arch/tar
app-arch/gzip"
@@ -20,6 +21,10 @@ src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-errno.diff
+
+ sed -i \
+ -e 's/head -1/head -n 1/g' Makefile || \
+ die "sed Makefile failed"
}
src_compile() {
@@ -30,10 +35,12 @@ src_compile() {
}
src_install() {
- dobin cdbdump cdbget cdbmake cdbmake-12 cdbmake-sv cdbstats cdbtest
- newlib.a cdb.a libcdb.a
+ dobin cdbdump cdbget cdbmake cdbmake-12 cdbmake-sv cdbstats cdbtest || \
+ die "dobin failed"
+ newlib.a cdb.a libcdb.a || die "newlib.a failed"
insinto /usr/include
- doins cdb.h
+ doins cdb.h || die "doins failed"
- dodoc CHANGES FILES README SYSDEPS TARGETS TODO VERSION
+ dodoc CHANGES FILES README SYSDEPS TARGETS TODO VERSION || \
+ die "dodoc failed"
}