net-dns/dnscrypt-proxy: fix build with new go
authorGeorgy Yakovlev <gyakovlev@gentoo.org>
Sat, 7 Sep 2019 00:23:59 +0000 (17:23 -0700)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Sat, 7 Sep 2019 00:36:30 +0000 (17:36 -0700)
// 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@gentoo.org>
net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.25-r2.ebuild

index 5539148f968abe538773448ed38388dc0e2dee6f..694bc5d7c0278602e65f550f2fa0c8197ea0f58b 100644 (file)
@@ -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() {