Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/libi/, sys-cluster/libi/files/
Date: Tue, 13 Jul 2021 15:36:36
Message-Id: 1626189949.ec55cab07321885e75f625fd7db6dc7ee11504f2.Alessandro-Barbieri@gentoo
1 commit: ec55cab07321885e75f625fd7db6dc7ee11504f2
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Tue Jul 13 15:25:49 2021 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Tue Jul 13 15:25:49 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ec55cab0
7
8 sys-cluster/libi: link launchmon
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 sys-cluster/libi/files/libi-link-launchmon.patch | 11 +++++++++++
13 sys-cluster/libi/libi-5.0.1_p20180510.ebuild | 5 ++++-
14 2 files changed, 15 insertions(+), 1 deletion(-)
15
16 diff --git a/sys-cluster/libi/files/libi-link-launchmon.patch b/sys-cluster/libi/files/libi-link-launchmon.patch
17 new file mode 100644
18 index 000000000..dcc65e4eb
19 --- /dev/null
20 +++ b/sys-cluster/libi/files/libi-link-launchmon.patch
21 @@ -0,0 +1,11 @@
22 +--- a/conf/Makefile.in
23 ++++ b/conf/Makefile.in
24 +@@ -115,7 +115,7 @@
25 +
26 + $(LIBLIBI_SO): libi-prep $(LIBI_OBJS)
27 + @echo Creating LIBI SO ...
28 +- $(CXX) $(SOFLAGS) -o $(LIBDIR)/liblibi.so $(LIBI_OBJS) -L$(LIBDIR) -lxplat
29 ++ $(CXX) $(SOFLAGS) -o $(LIBDIR)/liblibi.so $(LIBI_OBJS) -L$(LIBDIR) -lxplat $(LMON_LIBS)
30 +
31 + # Default Rules
32 +
33
34 diff --git a/sys-cluster/libi/libi-5.0.1_p20180510.ebuild b/sys-cluster/libi/libi-5.0.1_p20180510.ebuild
35 index 9ecf9e76a..921df72fd 100644
36 --- a/sys-cluster/libi/libi-5.0.1_p20180510.ebuild
37 +++ b/sys-cluster/libi/libi-5.0.1_p20180510.ebuild
38 @@ -24,7 +24,10 @@ DEPEND="
39 slurm? ( sys-cluster/slurm )
40 "
41
42 -PATCHES=( "${FILESDIR}/${PN}-create-libdir.patch" )
43 +PATCHES=(
44 + "${FILESDIR}/${PN}-create-libdir.patch"
45 + "${FILESDIR}/${PN}-link-launchmon.patch"
46 +)
47
48 src_configure() {
49 local myconf=(