sci-libs/p4est: fix library path
authorMatthias Maier <tamiko@gentoo.org>
Thu, 23 Apr 2020 21:37:42 +0000 (16:37 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Thu, 23 Apr 2020 21:40:31 +0000 (16:40 -0500)
Closes: https://bugs.gentoo.org/680140
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
sci-libs/p4est/p4est-2.0.ebuild
sci-libs/p4est/p4est-2.2.ebuild
sci-libs/p4est/p4est-9999.ebuild

index 62bc613a26027f3a95884b49fc2848a76ae8bdd4..8fd68ca09b10a6d2036cf0ad3c6770eb3acca5ee 100644 (file)
@@ -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() {
index 8cd883fb0d28ea76a9ce748dd8c25178a55bc2b9..32ae041f931acf8629ec8d71717ae97f04426727 100644 (file)
@@ -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() {
index a54c8b564e3ea396885b2db5fd8de90f5d551988..8fd68ca09b10a6d2036cf0ad3c6770eb3acca5ee 100644 (file)
@@ -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() {