commit:     a6d9d4fb599177e4e935a0b935d525c512d1c418
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Fri Nov  1 15:15:50 2019 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Fri Nov  1 16:22:55 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6d9d4fb

net-wireless/iwd: fetch ell.git using git-r3

Bug: https://bugs.gentoo.org/699042
Package-Manager: Portage-2.3.78_p4, Repoman-2.3.17_p100
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 net-wireless/iwd/iwd-9999.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/net-wireless/iwd/iwd-9999.ebuild b/net-wireless/iwd/iwd-9999.ebuild
index bcf7602ab7a..32c1b7fd134 100644
--- a/net-wireless/iwd/iwd-9999.ebuild
+++ b/net-wireless/iwd/iwd-9999.ebuild
@@ -5,8 +5,9 @@ EAPI=6
 inherit flag-o-matic linux-info systemd
 
 if [[ ${PV} == *9999* ]]; then
-       EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git";
        inherit autotools git-r3
+       
IWD_EGIT_REPO_URI="https://git.kernel.org/pub/scm/network/wireless/iwd.git";
+       ELL_EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/ell/ell.git";
 else
        SRC_URI="https://www.kernel.org/pub/linux/network/wireless/${P}.tar.xz";
        KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~sparc ~x86"
@@ -101,8 +102,8 @@ pkg_pretend() {
 
 src_unpack() {
        if [[ ${PV} == *9999* ]] ; then
-               git-r3_src_unpack
-               git clone git://git.kernel.org/pub/scm/libs/ell/ell.git 
"${WORKDIR}"/ell
+               EGIT_REPO_URI=${IWD_EGIT_REPO_URI} git-r3_src_unpack
+               EGIT_REPO_URI=${ELL_EGIT_REPO_URI} EGIT_CHECKOUT_DIR=${S}/ell 
git-r3_src_unpack
        else
                default
        fi

Reply via email to