1 |
commit: 0f18ecc8dda06ecd3721efecb25269e1a15f9e82 |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 14 02:29:43 2019 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 14 02:29:43 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f18ecc8 |
7 |
|
8 |
net-dns/dnscrypt-proxy: sync live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
12 |
|
13 |
net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild | 4 ++++ |
14 |
1 file changed, 4 insertions(+) |
15 |
|
16 |
diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild |
17 |
index 46f88908c5f..419d40281c6 100644 |
18 |
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild |
19 |
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild |
20 |
@@ -22,6 +22,8 @@ LICENSE="ISC" |
21 |
SLOT="0" |
22 |
IUSE="pie" |
23 |
|
24 |
+DEPEND=">=dev-lang/go-1.12" |
25 |
+ |
26 |
FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy ) |
27 |
PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch ) |
28 |
|
29 |
@@ -34,6 +36,8 @@ src_prepare() { |
30 |
default |
31 |
# Create directory structure suitable for building |
32 |
mkdir -p "src/${EGO_PN%/*}" || die |
33 |
+ # fixes $GOPATH/go.mod exists but should not |
34 |
+ rm go.mod || die |
35 |
mv "${PN}" "src/${EGO_PN}" || die |
36 |
mv "vendor" "src/" || die |
37 |
} |