Gentoo Archives: gentoo-commits

From: Haelwenn Monnier <contact@×××××××××.me>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-cluster/libi/files/, sys-cluster/libi/
Date: Tue, 07 Sep 2021 02:58:57
Message-Id: 1630819158.fc0f0e97a14b673a4e591e599f675b3c4403fece.lanodan@gentoo
1 commit: fc0f0e97a14b673a4e591e599f675b3c4403fece
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sun Sep 5 05:19:18 2021 +0000
4 Commit: Haelwenn Monnier <contact <AT> hacktivis <DOT> me>
5 CommitDate: Sun Sep 5 05:19:18 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fc0f0e97
7
8 sys-cluster/libi: respect LDFLAGS, add soname
9
10 Closes: https://bugs.gentoo.org/806270
11 Closes: https://bugs.gentoo.org/806272
12 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
13
14 sys-cluster/libi/files/libi-shared-library.patch | 11 +++++++++++
15 sys-cluster/libi/libi-5.0.1_p20180510.ebuild | 1 +
16 2 files changed, 12 insertions(+)
17
18 diff --git a/sys-cluster/libi/files/libi-shared-library.patch b/sys-cluster/libi/files/libi-shared-library.patch
19 new file mode 100644
20 index 000000000..769af0931
21 --- /dev/null
22 +++ b/sys-cluster/libi/files/libi-shared-library.patch
23 @@ -0,0 +1,11 @@
24 +--- a/conf/Makefile.in
25 ++++ b/conf/Makefile.in
26 +@@ -115,7 +115,7 @@
27 +
28 + $(LIBLIBI_SO): libi-prep $(LIBI_OBJS)
29 + @echo Creating LIBI SO ...
30 +- $(CXX) $(SOFLAGS) -o $(LIBDIR)/liblibi.so $(LIBI_OBJS) -L$(LIBDIR) -lxplat $(LMON_LIBS)
31 ++ $(CXX) $(CXXFLAGS) $(SOFLAGS) $(LDFLAGS) -Wl,-soname,liblibi.so -o $(LIBDIR)/liblibi.so $(LIBI_OBJS) -L$(LIBDIR) -lxplat $(LMON_LIBS)
32 +
33 + # Default Rules
34 +
35
36 diff --git a/sys-cluster/libi/libi-5.0.1_p20180510.ebuild b/sys-cluster/libi/libi-5.0.1_p20180510.ebuild
37 index fd46e9eb8..5dd1063ba 100644
38 --- a/sys-cluster/libi/libi-5.0.1_p20180510.ebuild
39 +++ b/sys-cluster/libi/libi-5.0.1_p20180510.ebuild
40 @@ -27,6 +27,7 @@ DEPEND="
41 PATCHES=(
42 "${FILESDIR}/${PN}-create-libdir.patch"
43 "${FILESDIR}/${PN}-link-launchmon.patch"
44 + "${FILESDIR}/${PN}-shared-library.patch"
45 )
46
47 src_configure() {