commit:     f2d4333d8010e64dd17db7908e5f0dbdaa61c406
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Sep  7 00:23:59 2019 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Sep  7 00:36:30 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2d4333d

net-dns/dnscrypt-proxy: fix build with new go

        // Vendor is present, and srcDir is outside parent's tree. Not allowed.
        perr := *p
        perr.Error = &PackageError{
                ImportStack: stk.copy(),
                Err:         "use of vendored package not allowed",
        }
        perr.Incomplete = true
        return &perr

Package-Manager: Portage-2.3.73, Repoman-2.3.17
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild 
b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild
index 5539148f968..694bc5d7c02 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild
@@ -39,7 +39,7 @@ src_prepare() {
        # fixes $GOPATH/go.mod exists but should not
        rm go.mod || die
        mv "${PN}" "src/${EGO_PN}" || die
-       mv "vendor" "src/" || die
+       mv "vendor" "src/${EGO_PN}" || die
 }
 
 src_configure() {

Reply via email to