summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Maier <tamiko@gentoo.org>2020-04-23 16:37:42 -0500
committerMatthias Maier <tamiko@gentoo.org>2020-04-23 16:40:31 -0500
commit6fefffcbfbf8feb4a4d33c1bc9cbb5b4b7311aa5 (patch)
tree4a5d174278c29ef9ee98943637389d29cf3e5a4b /sci-libs
parentalso mask rackspace-novaclient (diff)
downloadgentoo-6fefffcbfbf8feb4a4d33c1bc9cbb5b4b7311aa5.tar.gz
gentoo-6fefffcbfbf8feb4a4d33c1bc9cbb5b4b7311aa5.tar.bz2
gentoo-6fefffcbfbf8feb4a4d33c1bc9cbb5b4b7311aa5.zip
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 <tamiko@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/p4est/p4est-2.0.ebuild5
-rw-r--r--sci-libs/p4est/p4est-2.2.ebuild5
-rw-r--r--sci-libs/p4est/p4est-9999.ebuild5
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() {