1 |
commit: 7e2ca042f855ed30de55e8000d6eb739af9bea3c |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu May 30 11:54:52 2019 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu May 30 11:54:52 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e2ca042 |
7 |
|
8 |
net-libs/libad9361-iio: Fix multilib dirs |
9 |
|
10 |
Closes: https://bugs.gentoo.org/666304 |
11 |
Package-Manager: Portage-2.3.66, Repoman-2.3.12 |
12 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
13 |
|
14 |
net-libs/libad9361-iio/libad9361-iio-0.1-r2.ebuild | 8 ++++---- |
15 |
1 file changed, 4 insertions(+), 4 deletions(-) |
16 |
|
17 |
diff --git a/net-libs/libad9361-iio/libad9361-iio-0.1-r2.ebuild b/net-libs/libad9361-iio/libad9361-iio-0.1-r2.ebuild |
18 |
index 429ddc4b83f..1688a99ad8b 100644 |
19 |
--- a/net-libs/libad9361-iio/libad9361-iio-0.1-r2.ebuild |
20 |
+++ b/net-libs/libad9361-iio/libad9361-iio-0.1-r2.ebuild |
21 |
@@ -1,8 +1,7 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
+# Copyright 1999-2019 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
-EAPI=6 |
27 |
- |
28 |
+EAPI=7 |
29 |
inherit cmake-utils |
30 |
|
31 |
DESCRIPTION="IIO AD9361 library for filter design and handling, multi-chip sync, etc." |
32 |
@@ -23,7 +22,8 @@ RDEPEND="net-libs/libiio:=" |
33 |
DEPEND="${RDEPEND}" |
34 |
|
35 |
src_prepare() { |
36 |
- epatch "${FILESDIR}/7206bb2a9b655be3bdb66c6cf03aa504817ed240.patch" |
37 |
+ sed -i -e "s:"${CMAKE_INSTALL_PREFIX}/lib":"${CMAKE_INSTALL_PREFIX}/$(get_libdir)":g" CMakeLists.txt || die |
38 |
+ eapply "${FILESDIR}/7206bb2a9b655be3bdb66c6cf03aa504817ed240.patch" |
39 |
cmake-utils_src_prepare |
40 |
eapply_user |
41 |
} |