aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKacper Kowalik (Xarthisius) <xarthisius.kk@gmail.com>2010-06-22 17:07:04 +0200
committerKacper Kowalik (Xarthisius) <xarthisius.kk@gmail.com>2010-06-22 17:07:04 +0200
commite32705a4e4216ed6acc5e5da4b5e012017b25d46 (patch)
tree407053b71fb513c7d4a2f2ea14e3fe25ec96dd81 /sys-infiniband
parentsys-infiniband/libibverbs: adding pc file (diff)
downloadsci-e32705a4e4216ed6acc5e5da4b5e012017b25d46.tar.gz
sci-e32705a4e4216ed6acc5e5da4b5e012017b25d46.tar.bz2
sci-e32705a4e4216ed6acc5e5da4b5e012017b25d46.zip
sys-infiniband/librdmacm: adding pc file
Diffstat (limited to 'sys-infiniband')
-rw-r--r--sys-infiniband/librdmacm/ChangeLog6
-rw-r--r--sys-infiniband/librdmacm/Manifest5
-rw-r--r--sys-infiniband/librdmacm/files/librdmacm-1.0.8-pcfile.patch52
-rw-r--r--sys-infiniband/librdmacm/librdmacm-1.0.8-r1.ebuild13
4 files changed, 69 insertions, 7 deletions
diff --git a/sys-infiniband/librdmacm/ChangeLog b/sys-infiniband/librdmacm/ChangeLog
index ed3f4c7ad..cfceadc0e 100644
--- a/sys-infiniband/librdmacm/ChangeLog
+++ b/sys-infiniband/librdmacm/ChangeLog
@@ -1,7 +1,11 @@
# ChangeLog for sys-infiniband/librdmacm
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 22 Jun 2010; Kacper Kowalik <xarthisius@gentoo.org>
+ librdmacm-1.0.8-r1.ebuild, +files/librdmacm-1.0.8-pcfile.patch:
+ adding pc file
+
*librdmacm-1.0.8-r1 (20 Aug 2009)
20 Aug 2009; Alexey Shvetsov <alexxy@gentoo.org>
diff --git a/sys-infiniband/librdmacm/Manifest b/sys-infiniband/librdmacm/Manifest
index 361bd3651..f294ad09c 100644
--- a/sys-infiniband/librdmacm/Manifest
+++ b/sys-infiniband/librdmacm/Manifest
@@ -1,6 +1,7 @@
+AUX librdmacm-1.0.8-pcfile.patch 1467 RMD160 d061650b803e070c6f8e8373beb3033fa8d56616 SHA1 548ed25a72590e027ac337fb1862af469aadbedf SHA256 15f88ea081a1131b7f47d927fd023de4b4bae80c9088af35972b5daaa0476913
DIST OFED-1.4.1.tgz 65180617 RMD160 748e669a1a5aef90dd9cec3e8fce110d0051a3cd SHA1 e558bb16c414e0f40727ac046cbd80a3fc84c87f SHA256 5e73c9ead49f286ef68d1618a042b5101887cf0f8c66fbfea5a8a7648feee1e6
DIST OFED-1.4.tgz 61398547 RMD160 55fdf86f788a1ac86f0de842ffda545967f25431 SHA1 4d0c61409e0d41dc65906b93b592b9c331399392 SHA256 da1adc3d413b3a5731c9c46443c42fcfb88c1ad6bb9d77175a315a26a07ecaee
-EBUILD librdmacm-1.0.8-r1.ebuild 463 RMD160 4fbc2be3269d000b295bc13f77e4129279e77e6e SHA1 57f6cf1e553952602d9e1decdf2b1671aa804142 SHA256 21c1c725a0817fc1fcdfc4feb89fb67e1c4588c3f8dcf450c4d604614815fc7f
+EBUILD librdmacm-1.0.8-r1.ebuild 539 RMD160 6e3fde502c70143fcc6171abda370b7d941ab500 SHA1 c06efb0da69cfe06cb3e6c8a67e992920fcc90d5 SHA256 f31ae281082352775b155c14d9c509b3650b51b028d28fe5efe6164385dd7db4
EBUILD librdmacm-1.0.8.ebuild 458 RMD160 69983e49d6095c6e4b0f1c98dc0802760a44556d SHA1 97d91f4b19e4c7b4b269bbbe553f9abf91c95141 SHA256 4b9327ed9bf013a7b03a17bbad504bede786334da369c74a5e3445465dc79c2d
-MISC ChangeLog 969 RMD160 d9544828b905393834f99a47aea1e3a6cdc1030e SHA1 e21c3c9dc88e6f6fc3cd5a50e2684b5b591e248b SHA256 cb27dfc420944fed8bd3d36494713b3af475fbbbe6d8d523195f76c241d173b2
+MISC ChangeLog 1107 RMD160 125b23232d3e14fefa0479e98f4329bc9f89b8c9 SHA1 8741acf7fdc9ad7af7468270dda605ca8e89ed2c SHA256 2928877e7f6ef530e5b311883fe312e9425452a42c7186559280e21f4747e334
MISC metadata.xml 231 RMD160 4e683cf1e4e98e12f6827c19be6b1507c66d6bc2 SHA1 4cc03d85daa352f1d0b36d7a031765ee30c9ea2e SHA256 dc582f05fc10f90c08881f52d8434a939bf12da38a73004ba0327e5b1bc0bc9d
diff --git a/sys-infiniband/librdmacm/files/librdmacm-1.0.8-pcfile.patch b/sys-infiniband/librdmacm/files/librdmacm-1.0.8-pcfile.patch
new file mode 100644
index 000000000..70a75d396
--- /dev/null
+++ b/sys-infiniband/librdmacm/files/librdmacm-1.0.8-pcfile.patch
@@ -0,0 +1,52 @@
+--- configure.in.orig 2010-06-22 14:29:13.162433883 +0200
++++ configure.in 2010-06-22 14:30:08.453433847 +0200
+@@ -27,6 +27,17 @@
+ fi
+ ])
+
++dnl Additional arguments (and substitutions)
++dnl Allow the pkg-config directory to be set
++AC_ARG_WITH(pkgconfigdir,
++ AC_HELP_STRING([--with-pkgconfigdir],
++ [Use the specified pkgconfig dir (default is libdir/pkgconfig)]),
++ [pkgconfigdir=${withval}],
++ [pkgconfigdir='${libdir}/pkgconfig'])
++
++AC_SUBST([pkgconfigdir])
++AC_MSG_NOTICE([pkgconfig directory is ${pkgconfigdir}])
++
+ dnl Checks for programs
+ AC_PROG_CC
+
+@@ -62,5 +73,5 @@
+
+ AM_CONDITIONAL(HAVE_LD_VERSION_SCRIPT, test "$ac_cv_version_script" = "yes")
+
+-AC_CONFIG_FILES([Makefile librdmacm.spec])
++AC_CONFIG_FILES([Makefile librdmacm.spec rdmacm.pc:rdmacm.pc.in])
+ AC_OUTPUT
+--- Makefile.am.orig 2010-06-22 14:29:17.849433892 +0200
++++ Makefile.am 2010-06-22 14:30:30.680832953 +0200
+@@ -1,5 +1,8 @@
+ INCLUDES = -I$(srcdir)/include
+
++pkgconfigdir = @pkgconfigdir@
++pkgconfig_DATA = rdmacm.pc
++
+ lib_LTLIBRARIES = src/librdmacm.la
+
+ AM_CFLAGS = -g -Wall -D_GNU_SOURCE
+--- /dev/null 2010-05-29 13:22:18.914064236 +0200
++++ rdmacm.pc.in 2010-06-22 14:30:56.082443278 +0200
+@@ -0,0 +1,11 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++
++Name: @PACKAGE_NAME@
++Version: @PACKAGE_VERSION@
++Description: @PACKAGE_STRING@
++Requires:
++Libs: -L${libdir} -lrdmacm
++Cflags: -I${includedir}
diff --git a/sys-infiniband/librdmacm/librdmacm-1.0.8-r1.ebuild b/sys-infiniband/librdmacm/librdmacm-1.0.8-r1.ebuild
index 24460043e..22c05def8 100644
--- a/sys-infiniband/librdmacm/librdmacm-1.0.8-r1.ebuild
+++ b/sys-infiniband/librdmacm/librdmacm-1.0.8-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="OpenIB userspace RDMA CM library"
KEYWORDS="~x86 ~amd64"
@@ -16,7 +16,12 @@ DEPEND="sys-infiniband/libibverbs"
RDEPEND="${DEPEND}
!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 ||
+ dodoc README AUTHORS ChangeLog || die
}