diff options
author | Kacper Kowalik <xarthisius@gentoo.org> | 2011-08-28 17:44:46 +0000 |
---|---|---|
committer | Kacper Kowalik <xarthisius@gentoo.org> | 2011-08-28 17:44:46 +0000 |
commit | 620c3e24e45b05afaead257dc15e0fa5fbbaa3dc (patch) | |
tree | 8b79877d874d9a4458b5ac3b913c6040d606a855 /sys-infiniband | |
parent | Fix for parallel build, #354495; Fix for forced as-needed with introspection,... (diff) | |
download | gentoo-2-620c3e24e45b05afaead257dc15e0fa5fbbaa3dc.tar.gz gentoo-2-620c3e24e45b05afaead257dc15e0fa5fbbaa3dc.tar.bz2 gentoo-2-620c3e24e45b05afaead257dc15e0fa5fbbaa3dc.zip |
Don't install nonexistent docs, remove la files, introduce static-libs flag. Fixes bug 375057 by Diego Elio Pettenò <flameeyes@gentoo.org>
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'sys-infiniband')
-rw-r--r-- | sys-infiniband/libnes/ChangeLog | 6 | ||||
-rw-r--r-- | sys-infiniband/libnes/libnes-1.1.1.ebuild | 16 |
2 files changed, 15 insertions, 7 deletions
diff --git a/sys-infiniband/libnes/ChangeLog b/sys-infiniband/libnes/ChangeLog index e061316c901a..97772306ae5e 100644 --- a/sys-infiniband/libnes/ChangeLog +++ b/sys-infiniband/libnes/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-infiniband/libnes # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/libnes/ChangeLog,v 1.2 2011/07/02 20:30:14 alexxy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/libnes/ChangeLog,v 1.3 2011/08/28 17:44:46 xarthisius Exp $ + + 28 Aug 2011; Kacper Kowalik <xarthisius@gentoo.org> libnes-1.1.1.ebuild: + Don't install nonexistent docs, remove la files, introduce static-libs flag. + Fixes bug 375057 by Diego Elio Pettenò <flameeyes@gentoo.org> 02 Jul 2011; Alexey Shvetsov <alexxy@gentoo.org> libnes-1.1.1.ebuild: Add ~amd64-linux keywrod diff --git a/sys-infiniband/libnes/libnes-1.1.1.ebuild b/sys-infiniband/libnes/libnes-1.1.1.ebuild index e77ba51fcc6f..2976397c8363 100644 --- a/sys-infiniband/libnes/libnes-1.1.1.ebuild +++ b/sys-infiniband/libnes/libnes-1.1.1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/libnes/libnes-1.1.1.ebuild,v 1.2 2011/07/02 20:30:14 alexxy Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-infiniband/libnes/libnes-1.1.1.ebuild,v 1.3 2011/08/28 17:44:46 xarthisius Exp $ -EAPI="4" +EAPI=4 OFED_VER="1.5.3.1" OFED_SUFFIX="1" @@ -11,13 +11,17 @@ inherit openib DESCRIPTION="NetEffect RNIC Userspace Library" KEYWORDS="~amd64 ~x86 ~amd64-linux" -IUSE="" +IUSE="static-libs" DEPEND=">=sys-infiniband/libibverbs-1.1.4" RDEPEND="${DEPEND} - !sys-infiniband/openib-userspace" + !sys-infiniband/openib-userspace" + +src_configure() { + econf $(use_enable static-libs static) +} src_install() { - make DESTDIR="${D}" install || die "install failed" - dodoc README AUTHORS ChangeLog + default + use static-libs || rm -f "${D}"usr/$(get_libdir)/${PN}.la } |