summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatoro Mahri <matoro_gentoo@matoro.tk>2023-12-13 14:20:34 -0500
committerSam James <sam@gentoo.org>2023-12-14 02:15:21 +0000
commit505c020a9c8f7fa29e69533259cf6acd8a83917e (patch)
tree3a030103a17dbe0c9fb6e20dc58a146054a593cc /dev-libs/libdnet/libdnet-1.17.0.ebuild
parentdev-libs/libgee: add missing vala_depend (diff)
downloadgentoo-505c020a9c8f7fa29e69533259cf6acd8a83917e.tar.gz
gentoo-505c020a9c8f7fa29e69533259cf6acd8a83917e.tar.bz2
gentoo-505c020a9c8f7fa29e69533259cf6acd8a83917e.zip
dev-libs/libdnet: fix lookup path for libcheck.so on 64-bit
We pass --with-check=/usr, and the configure file is hardcoded to look for <path>/lib/libcheck.so (we already replace libcheck.a with libcheck.so). Adjust this path so it uses lib64 on 64-bit. Bug: https://bugs.gentoo.org/852122 Bug: https://bugs.gentoo.org/907224 Bug: https://bugs.gentoo.org/913838 Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Closes: https://github.com/gentoo/gentoo/pull/34271 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libdnet/libdnet-1.17.0.ebuild')
-rw-r--r--dev-libs/libdnet/libdnet-1.17.0.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/dev-libs/libdnet/libdnet-1.17.0.ebuild b/dev-libs/libdnet/libdnet-1.17.0.ebuild
index 9114d6529375..6375fca7a56c 100644
--- a/dev-libs/libdnet/libdnet-1.17.0.ebuild
+++ b/dev-libs/libdnet/libdnet-1.17.0.ebuild
@@ -40,6 +40,9 @@ src_prepare() {
-e 's/libcheck.a/libcheck.so/g' \
configure.ac || die
sed -i \
+ -e "s/lib\/libcheck/$(get_libdir)\/libcheck/g" \
+ configure.ac || die
+ sed -i \
-e 's|-L$libdir ||g' \
dnet-config.in || die
sed -i \