From 0f18ecc8dda06ecd3721efecb25269e1a15f9e82 Mon Sep 17 00:00:00 2001 From: Georgy Yakovlev Date: Wed, 13 Mar 2019 19:29:43 -0700 Subject: net-dns/dnscrypt-proxy: sync live ebuild Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev --- net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild index 46f88908c5f8..419d40281c69 100644 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild +++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild @@ -22,6 +22,8 @@ LICENSE="ISC" SLOT="0" IUSE="pie" +DEPEND=">=dev-lang/go-1.12" + FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy ) PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch ) @@ -34,6 +36,8 @@ src_prepare() { default # Create directory structure suitable for building mkdir -p "src/${EGO_PN%/*}" || die + # fixes $GOPATH/go.mod exists but should not + rm go.mod || die mv "${PN}" "src/${EGO_PN}" || die mv "vendor" "src/" || die } -- cgit v1.2.3-65-gdbad