commit:     26cdcc9da15480ee863792647cb460940d4de232
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  5 23:49:14 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Fri Jun  5 23:49:14 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26cdcc9d

net-libs/libhackrf: Fix unused CMake variables

Closes: https://bugs.gentoo.org/659418
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-libs/libhackrf/libhackrf-2018.01.1.ebuild | 5 ++---
 net-libs/libhackrf/libhackrf-9999.ebuild      | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/net-libs/libhackrf/libhackrf-2018.01.1.ebuild 
b/net-libs/libhackrf/libhackrf-2018.01.1.ebuild
index 8acce1696f8..06468417d0d 100644
--- a/net-libs/libhackrf/libhackrf-2018.01.1.ebuild
+++ b/net-libs/libhackrf/libhackrf-2018.01.1.ebuild
@@ -11,7 +11,6 @@ HOMEPAGE="http://greatscottgadgets.com/hackrf/";
 if [[ ${PV} == "9999" ]] ; then
        EGIT_REPO_URI="https://github.com/mossmann/hackrf.git";
        inherit git-r3
-       KEYWORDS=""
        EGIT_CHECKOUT_DIR="${WORKDIR}/hackrf"
        S="${WORKDIR}/hackrf/host/libhackrf"
 else
@@ -28,8 +27,8 @@ DEPEND="virtual/libusb:1"
 RDEPEND="${DEPEND}"
 
 src_configure() {
-       mycmakeargs=(
-               -DENABLE_INSTALL_UDEV_RULES="$(usex udev)"
+       local mycmakeargs=(
+               -DINSTALL_UDEV_RULES="$(usex udev)"
        )
        if use udev; then
                mycmakeargs+=(

diff --git a/net-libs/libhackrf/libhackrf-9999.ebuild 
b/net-libs/libhackrf/libhackrf-9999.ebuild
index 8acce1696f8..06468417d0d 100644
--- a/net-libs/libhackrf/libhackrf-9999.ebuild
+++ b/net-libs/libhackrf/libhackrf-9999.ebuild
@@ -11,7 +11,6 @@ HOMEPAGE="http://greatscottgadgets.com/hackrf/";
 if [[ ${PV} == "9999" ]] ; then
        EGIT_REPO_URI="https://github.com/mossmann/hackrf.git";
        inherit git-r3
-       KEYWORDS=""
        EGIT_CHECKOUT_DIR="${WORKDIR}/hackrf"
        S="${WORKDIR}/hackrf/host/libhackrf"
 else
@@ -28,8 +27,8 @@ DEPEND="virtual/libusb:1"
 RDEPEND="${DEPEND}"
 
 src_configure() {
-       mycmakeargs=(
-               -DENABLE_INSTALL_UDEV_RULES="$(usex udev)"
+       local mycmakeargs=(
+               -DINSTALL_UDEV_RULES="$(usex udev)"
        )
        if use udev; then
                mycmakeargs+=(

Reply via email to