diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-08-11 12:44:55 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-08-11 12:44:55 +0000 |
commit | ddd14dcd1404f439f20375aba0c45916fa0e4c72 (patch) | |
tree | 5f564d34c92594c6767af6d2a203ca6b8fe459f5 /sys-infiniband/infinipath-psm | |
parent | x86 stable, bug #418897 (diff) | |
download | gentoo-2-ddd14dcd1404f439f20375aba0c45916fa0e4c72.tar.gz gentoo-2-ddd14dcd1404f439f20375aba0c45916fa0e4c72.tar.bz2 gentoo-2-ddd14dcd1404f439f20375aba0c45916fa0e4c72.zip |
Stop using /etc/udev which is reserved for user modified rules and read udevdir value from udev.pc pkg-config file instead.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'sys-infiniband/infinipath-psm')
-rw-r--r-- | sys-infiniband/infinipath-psm/ChangeLog | 9 | ||||
-rw-r--r-- | sys-infiniband/infinipath-psm/infinipath-psm-2.9-r1.ebuild | 39 |
2 files changed, 47 insertions, 1 deletions
diff --git a/sys-infiniband/infinipath-psm/ChangeLog b/sys-infiniband/infinipath-psm/ChangeLog index 68574172f81c..927f11d190ec 100644 --- a/sys-infiniband/infinipath-psm/ChangeLog +++ b/sys-infiniband/infinipath-psm/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-infiniband/infinipath-psm # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/infinipath-psm/ChangeLog,v 1.4 2012/04/18 18:30:20 alexxy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/infinipath-psm/ChangeLog,v 1.5 2012/08/11 12:44:55 ssuominen Exp $ + +*infinipath-psm-2.9-r1 (11 Aug 2012) + + 11 Aug 2012; Samuli Suominen <ssuominen@gentoo.org> + +infinipath-psm-2.9-r1.ebuild: + Stop using /etc/udev which is reserved for user modified rules and read + udevdir value from udev.pc pkg-config file instead. 18 Apr 2012; Alexey Shvetsov <alexxy@gentoo.org> infinipath-psm-2.9.ebuild: [sys-infiniband/infinipath-psm] src dir is snapshot too diff --git a/sys-infiniband/infinipath-psm/infinipath-psm-2.9-r1.ebuild b/sys-infiniband/infinipath-psm/infinipath-psm-2.9-r1.ebuild new file mode 100644 index 000000000000..8b3260d12eb1 --- /dev/null +++ b/sys-infiniband/infinipath-psm/infinipath-psm-2.9-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/infinipath-psm/infinipath-psm-2.9-r1.ebuild,v 1.1 2012/08/11 12:44:55 ssuominen Exp $ + +EAPI="4" + +OFED_VER="1.5.4.1" +OFED_SUFFIX="926.1005_open" +OFED_SNAPSHOT="1" +OFED_SRC_SNAPSHOT="1" + +inherit openib toolchain-funcs + +DESCRIPTION="OpenIB userspace driver for the PathScale InfiniBand HCAs" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="" + +RDEPEND="sys-infiniband/libibverbs:${SLOT}" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +block_other_ofed_versions + +src_prepare() { + sed -e 's:uname -p:uname -m:g' \ + -e 's:-Werror::g' \ + -i buildflags.mak || die + epatch "${FILESDIR}"/${PN}-include.patch +} + +src_install() { + emake DESTDIR="${D}" install + dodoc README + # install udev rules + local udevdir=/lib/udev + has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" + insinto "${udevdir}"/rules.d + doins "${FILESDIR}"/42-infinipath-psm.rules +} |