summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-12-13 18:01:53 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-12-13 18:01:53 +0000
commit8fb016e57a060a9a75f990329287280518e4a4ca (patch)
treeb025d3c250a0bdaf7d0ef2456720e1c86e122cc9 /dev-libs/mapm
parentDie if make fails. (diff)
downloadgentoo-2-8fb016e57a060a9a75f990329287280518e4a4ca.tar.gz
gentoo-2-8fb016e57a060a9a75f990329287280518e4a4ca.tar.bz2
gentoo-2-8fb016e57a060a9a75f990329287280518e4a4ca.zip
Fail if the do* commands fail, rather than installing an empty package.
(Portage version: 2.2_rc17/cvs/Linux 2.6.27-gentoo-r5 x86_64)
Diffstat (limited to 'dev-libs/mapm')
-rw-r--r--dev-libs/mapm/ChangeLog7
-rw-r--r--dev-libs/mapm/mapm-4.9.2.ebuild12
2 files changed, 12 insertions, 7 deletions
diff --git a/dev-libs/mapm/ChangeLog b/dev-libs/mapm/ChangeLog
index 350b6d2b4af0..10bb30bebe54 100644
--- a/dev-libs/mapm/ChangeLog
+++ b/dev-libs/mapm/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/mapm
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/mapm/ChangeLog,v 1.4 2006/08/17 18:28:06 wormo Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mapm/ChangeLog,v 1.5 2008/12/13 18:01:53 flameeyes Exp $
+
+ 13 Dec 2008; Diego E. Pettenò <flameeyes@gentoo.org> mapm-4.9.2.ebuild:
+ Fail if the do* commands fail, rather than installing an empty package.
*mapm-4.9.2 (19 Aug 2006)
diff --git a/dev-libs/mapm/mapm-4.9.2.ebuild b/dev-libs/mapm/mapm-4.9.2.ebuild
index 659ed4f60d86..158390652663 100644
--- a/dev-libs/mapm/mapm-4.9.2.ebuild
+++ b/dev-libs/mapm/mapm-4.9.2.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/mapm/mapm-4.9.2.ebuild,v 1.1 2006/08/17 18:28:06 wormo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/mapm/mapm-4.9.2.ebuild,v 1.2 2008/12/13 18:01:53 flameeyes Exp $
+
+inherit multilib
DESCRIPTION="Mike's Arbitrary Precision Math Library"
HOMEPAGE="http://www.tc.umn.edu/~ringx004/mapm-main.html"
@@ -26,11 +28,11 @@ src_compile() {
}
src_install() {
- dolib.so libmapm.so.0
- dosym libmapm.so.0 /usr/lib/libmapm.so
+ dolib.so libmapm.so.0 || die "dolib failed"
+ dosym libmapm.so.0 /usr/$(get_libdir)/libmapm.so || die "dosym failed"
insinto /usr/include
- doins m_apm.h
+ doins m_apm.h || die "doins headers failed"
dodoc README article.pdf algorithms.used commentary.txt \
cpp_function.ref function.ref history.txt struct.ref