aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-infiniband/libibverbs/libibverbs-1.1.2-r1.ebuild')
-rw-r--r--sys-infiniband/libibverbs/libibverbs-1.1.2-r1.ebuild15
1 files changed, 10 insertions, 5 deletions
diff --git a/sys-infiniband/libibverbs/libibverbs-1.1.2-r1.ebuild b/sys-infiniband/libibverbs/libibverbs-1.1.2-r1.ebuild
index 928bf5a6c..9eac99a40 100644
--- a/sys-infiniband/libibverbs/libibverbs-1.1.2-r1.ebuild
+++ b/sys-infiniband/libibverbs/libibverbs-1.1.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
@@ -7,7 +7,7 @@ EAPI="2"
OFED_VER="1.4.1"
OFED_SUFFIX="1.ofed1.4.1"
-inherit openib
+inherit autotools eutils openib
DESCRIPTION="A library allowing programs to use InfiniBand 'verbs' for direct access to IB hardware"
KEYWORDS="~amd64 ~x86"
@@ -15,9 +15,14 @@ IUSE=""
DEPEND="sys-fs/sysfsutils"
RDEPEND="${DEPEND}
- !sys-infiniband/openib-userspace"
+ !sys-infiniband/openib-userspace"
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-pcfile.patch
+ eautoreconf
+}
src_install() {
- make DESTDIR="${D}" install || die "install failed"
- dodoc README AUTHORS ChangeLog
+ emake DESTDIR="${D}" install || die
+ dodoc README AUTHORS ChangeLog || die
}