commit:     d4bba0ecd6f6e00a6cb031268320a8c9c7e0adbc
Author:     Volkmar W. Pogatzki <gentoo <AT> pogatzki <DOT> net>
AuthorDate: Mon Aug 12 05:29:35 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Thu Aug 29 10:48:37 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4bba0ec

dev-libs/bitshuffle: fix underlinked error

Bug: https://bugs.gentoo.org/914570
Signed-off-by: Volkmar W. Pogatzki <gentoo <AT> pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/38110
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 .../{bitshuffle-0.3.5.ebuild => bitshuffle-0.3.5-r1.ebuild}         | 6 +++++-
 dev-libs/bitshuffle/files/bitshuffle-0.3.5-Makefile                 | 4 +++-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/dev-libs/bitshuffle/bitshuffle-0.3.5.ebuild 
b/dev-libs/bitshuffle/bitshuffle-0.3.5-r1.ebuild
similarity index 91%
rename from dev-libs/bitshuffle/bitshuffle-0.3.5.ebuild
rename to dev-libs/bitshuffle/bitshuffle-0.3.5-r1.ebuild
index 964fad44dbd0..9ffb25cf41d1 100644
--- a/dev-libs/bitshuffle/bitshuffle-0.3.5.ebuild
+++ b/dev-libs/bitshuffle/bitshuffle-0.3.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021-2022 Gentoo Authors
+# Copyright 2021-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -17,6 +17,10 @@ DEPEND="
        app-arch/lz4
 "
 
+RDEPEND="
+       app-arch/lz4
+"
+
 src_prepare() {
        cp "${FILESDIR}/${P}-Makefile" "Makefile" || die "Failed to copy 
Makefile"
        default

diff --git a/dev-libs/bitshuffle/files/bitshuffle-0.3.5-Makefile 
b/dev-libs/bitshuffle/files/bitshuffle-0.3.5-Makefile
index f38d0cc5f149..6ccea469dbae 100644
--- a/dev-libs/bitshuffle/files/bitshuffle-0.3.5-Makefile
+++ b/dev-libs/bitshuffle/files/bitshuffle-0.3.5-Makefile
@@ -26,8 +26,10 @@ OBJS = \
        src/bitshuffle_core.o \
        src/iochain.o
 
+LIBS := -llz4
+
 $(SOFILE): $(OBJS)
-       $(CC) $(CFLAGS) -o $@ -shared $(LDFLAGS) -Wl,-soname,$(SONAME) $^
+       $(CC) $(CFLAGS) -o $@ -shared $(LDFLAGS) -Wl,-soname,$(SONAME) $^ 
$(LIBS)
 
 %.o: %.c
        $(CC) $(CFLAGS) -Isrc -c $< -o $@

Reply via email to