From 6fefffcbfbf8feb4a4d33c1bc9cbb5b4b7311aa5 Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Thu, 23 Apr 2020 16:37:42 -0500 Subject: [PATCH] sci-libs/p4est: fix library path Closes: https://bugs.gentoo.org/680140 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Matthias Maier --- sci-libs/p4est/p4est-2.0.ebuild | 5 ++--- sci-libs/p4est/p4est-2.2.ebuild | 5 ++--- sci-libs/p4est/p4est-9999.ebuild | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/sci-libs/p4est/p4est-2.0.ebuild b/sci-libs/p4est/p4est-2.0.ebuild index 62bc613a2602..8fd68ca09b10 100644 --- a/sci-libs/p4est/p4est-2.0.ebuild +++ b/sci-libs/p4est/p4est-2.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -73,9 +73,8 @@ src_prepare() { "${S}"/configure || die "sed failed" sed -i \ - "s/libsc\.la/libsc\.so/" \ + "s#lib/libsc\.la#$(get_libdir)/libsc\.so#" \ "${S}"/configure || die "sed failed" - } src_configure() { diff --git a/sci-libs/p4est/p4est-2.2.ebuild b/sci-libs/p4est/p4est-2.2.ebuild index 8cd883fb0d28..32ae041f931a 100644 --- a/sci-libs/p4est/p4est-2.2.ebuild +++ b/sci-libs/p4est/p4est-2.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -73,9 +73,8 @@ src_prepare() { "${S}"/configure || die "sed failed" sed -i \ - "s/libsc\.la/libsc\.so/" \ + "s#lib/libsc\.la#$(get_libdir)/libsc\.so#" \ "${S}"/configure || die "sed failed" - } src_configure() { diff --git a/sci-libs/p4est/p4est-9999.ebuild b/sci-libs/p4est/p4est-9999.ebuild index a54c8b564e3e..8fd68ca09b10 100644 --- a/sci-libs/p4est/p4est-9999.ebuild +++ b/sci-libs/p4est/p4est-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -73,9 +73,8 @@ src_prepare() { "${S}"/configure || die "sed failed" sed -i \ - "s/libsc\.la/libsc\.so/" \ + "s#lib/libsc\.la#$(get_libdir)/libsc\.so#" \ "${S}"/configure || die "sed failed" - } src_configure() { -- 2.26.2