diff options
-rw-r--r-- | net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
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 } |