From: Matthias Maier Date: Thu, 23 Apr 2020 21:37:42 +0000 (-0500) Subject: sci-libs/p4est: fix library path X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6fefffcbfbf8feb4a4d33c1bc9cbb5b4b7311aa5;p=gentoo.git 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 --- 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() {