summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-06-24 23:39:57 +0000
committerMike Frysinger <vapier@gentoo.org>2007-06-24 23:39:57 +0000
commitf0366357aa4f0625b77d1057c9ed9f980e5a0ba0 (patch)
tree8c860ec6b039abce8e714a7d282099ba86a676c2 /dev-libs/libatomic_ops
parent(QA) Fix ${ROOT} abuse. bug #167271. (diff)
downloadgentoo-2-f0366357aa4f0625b77d1057c9ed9f980e5a0ba0.tar.gz
gentoo-2-f0366357aa4f0625b77d1057c9ed9f980e5a0ba0.tar.bz2
gentoo-2-f0366357aa4f0625b77d1057c9ed9f980e5a0ba0.zip
arm/sh love #180117
(Portage version: 2.1.3_rc5)
Diffstat (limited to 'dev-libs/libatomic_ops')
-rw-r--r--dev-libs/libatomic_ops/libatomic_ops-1.2.ebuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/dev-libs/libatomic_ops/libatomic_ops-1.2.ebuild b/dev-libs/libatomic_ops/libatomic_ops-1.2.ebuild
index c8e1c15f7a68..d21691ec6d85 100644
--- a/dev-libs/libatomic_ops/libatomic_ops-1.2.ebuild
+++ b/dev-libs/libatomic_ops/libatomic_ops-1.2.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/dev-libs/libatomic_ops/libatomic_ops-1.2.ebuild,v 1.6 2007/06/08 23:15:28 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatomic_ops/libatomic_ops-1.2.ebuild,v 1.7 2007/06/24 23:39:57 vapier Exp $
inherit eutils
@@ -10,16 +10,18 @@ SRC_URI="http://www.hpl.hp.com/research/linux/atomic_ops/download/${P}.tar.gz"
LICENSE="GPL-2 MIT as-is"
SLOT="0"
-KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE=""
DEPEND=""
RDEPEND=""
+
src_unpack(){
unpack ${A}
- cd ${S}
- epatch "${FILESDIR}/${P}-ppc64-load_acquire.patch"
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-ppc64-load_acquire.patch
}
+
src_install() {
- emake pkgdatadir="/usr/share/doc/${PF}" DESTDIR="${D}" install
+ emake pkgdatadir="/usr/share/doc/${PF}" DESTDIR="${D}" install || die
}