summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2021-02-25 12:47:08 -0500
committerRick Farina <zerochaos@gentoo.org>2021-02-25 12:49:57 -0500
commit213449a3ceb570a3c9bc322a2290b9b4b8c56162 (patch)
treed0cbc3a903698779eb0eacef2f98fabae084da38 /net-libs/libad9361-iio
parentnet-misc/exabgp-4.2.11-r2: Revbump, supervision, misc bugfixes (diff)
downloadgentoo-213449a3ceb570a3c9bc322a2290b9b4b8c56162.tar.gz
gentoo-213449a3ceb570a3c9bc322a2290b9b4b8c56162.tar.bz2
gentoo-213449a3ceb570a3c9bc322a2290b9b4b8c56162.zip
net-libs/libad9361-iio: fix docdir
Package-Manager: Portage-3.0.15, Repoman-3.0.2 Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-libs/libad9361-iio')
-rw-r--r--net-libs/libad9361-iio/libad9361-iio-0.2.ebuild3
-rw-r--r--net-libs/libad9361-iio/libad9361-iio-9999.ebuild3
2 files changed, 4 insertions, 2 deletions
diff --git a/net-libs/libad9361-iio/libad9361-iio-0.2.ebuild b/net-libs/libad9361-iio/libad9361-iio-0.2.ebuild
index 077095393813..630cb27fb6e9 100644
--- a/net-libs/libad9361-iio/libad9361-iio-0.2.ebuild
+++ b/net-libs/libad9361-iio/libad9361-iio-0.2.ebuild
@@ -21,7 +21,8 @@ RDEPEND="net-libs/libiio:="
DEPEND="${RDEPEND}"
src_prepare() {
- sed -i -e "s:"${CMAKE_INSTALL_PREFIX}/lib":"${CMAKE_INSTALL_PREFIX}/$(get_libdir)":g" CMakeLists.txt || die
+ sed -i -e "s:"${CMAKE_INSTALL_PREFIX}/lib":"${CMAKE_INSTALL_PREFIX}/$(get_libdir)":g" \
+ -e "s:\${PROJECT_NAME}\${LIBAD9361_VERSION_MAJOR}-doc:${P}:" CMakeLists.txt || die
cmake_src_prepare
eapply_user
}
diff --git a/net-libs/libad9361-iio/libad9361-iio-9999.ebuild b/net-libs/libad9361-iio/libad9361-iio-9999.ebuild
index 077095393813..630cb27fb6e9 100644
--- a/net-libs/libad9361-iio/libad9361-iio-9999.ebuild
+++ b/net-libs/libad9361-iio/libad9361-iio-9999.ebuild
@@ -21,7 +21,8 @@ RDEPEND="net-libs/libiio:="
DEPEND="${RDEPEND}"
src_prepare() {
- sed -i -e "s:"${CMAKE_INSTALL_PREFIX}/lib":"${CMAKE_INSTALL_PREFIX}/$(get_libdir)":g" CMakeLists.txt || die
+ sed -i -e "s:"${CMAKE_INSTALL_PREFIX}/lib":"${CMAKE_INSTALL_PREFIX}/$(get_libdir)":g" \
+ -e "s:\${PROJECT_NAME}\${LIBAD9361_VERSION_MAJOR}-doc:${P}:" CMakeLists.txt || die
cmake_src_prepare
eapply_user
}