summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2019-05-30 13:54:52 +0200
committerPacho Ramos <pacho@gentoo.org>2019-05-30 13:54:52 +0200
commit7e2ca042f855ed30de55e8000d6eb739af9bea3c (patch)
treef37eee64ab8e3492f98e529d75656611e1bb5eb8 /net-libs/libad9361-iio
parentsci-chemistry/molmol: Drop old (diff)
downloadgentoo-7e2ca042f855ed30de55e8000d6eb739af9bea3c.tar.gz
gentoo-7e2ca042f855ed30de55e8000d6eb739af9bea3c.tar.bz2
gentoo-7e2ca042f855ed30de55e8000d6eb739af9bea3c.zip
net-libs/libad9361-iio: Fix multilib dirs
Closes: https://bugs.gentoo.org/666304 Package-Manager: Portage-2.3.66, Repoman-2.3.12 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'net-libs/libad9361-iio')
-rw-r--r--net-libs/libad9361-iio/libad9361-iio-0.1-r2.ebuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/net-libs/libad9361-iio/libad9361-iio-0.1-r2.ebuild b/net-libs/libad9361-iio/libad9361-iio-0.1-r2.ebuild
index 429ddc4b83f0..1688a99ad8b8 100644
--- a/net-libs/libad9361-iio/libad9361-iio-0.1-r2.ebuild
+++ b/net-libs/libad9361-iio/libad9361-iio-0.1-r2.ebuild
@@ -1,8 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-
+EAPI=7
inherit cmake-utils
DESCRIPTION="IIO AD9361 library for filter design and handling, multi-chip sync, etc."
@@ -23,7 +22,8 @@ RDEPEND="net-libs/libiio:="
DEPEND="${RDEPEND}"
src_prepare() {
- epatch "${FILESDIR}/7206bb2a9b655be3bdb66c6cf03aa504817ed240.patch"
+ sed -i -e "s:"${CMAKE_INSTALL_PREFIX}/lib":"${CMAKE_INSTALL_PREFIX}/$(get_libdir)":g" CMakeLists.txt || die
+ eapply "${FILESDIR}/7206bb2a9b655be3bdb66c6cf03aa504817ed240.patch"
cmake-utils_src_prepare
eapply_user
}