net-libs/libad9361-iio: Drop upstreamed patch
authorPacho Ramos <pacho@gentoo.org>
Thu, 30 May 2019 11:55:51 +0000 (13:55 +0200)
committerPacho Ramos <pacho@gentoo.org>
Thu, 30 May 2019 11:55:51 +0000 (13:55 +0200)
Closes: https://bugs.gentoo.org/666304
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
net-libs/libad9361-iio/libad9361-iio-9999.ebuild

index 429ddc4b83f02980b5020095be61823578126f8c..bf3f30e1b44af0ba7eba044cbfbd5d7e32b2797f 100644 (file)
@@ -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,7 @@ 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
        cmake-utils_src_prepare
        eapply_user
 }