1 |
commit: 9270b991360567312b1ddedd0235c86c014caf8a |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 7 07:03:42 2018 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 7 07:29:31 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9270b991 |
7 |
|
8 |
net-dns/dnscrypt-proxy: add pie to live ebuild |
9 |
|
10 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
11 |
|
12 |
net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild | 6 +++++- |
13 |
1 file changed, 5 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild |
16 |
index 98ba6f98e2c..97e32d34737 100644 |
17 |
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild |
18 |
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild |
19 |
@@ -20,7 +20,7 @@ HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy" |
20 |
|
21 |
LICENSE="ISC" |
22 |
SLOT="0" |
23 |
-IUSE="test" |
24 |
+IUSE="pie test" |
25 |
|
26 |
FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy ) |
27 |
PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch ) |
28 |
@@ -38,6 +38,10 @@ src_prepare() { |
29 |
mv "vendor" "src/" || die |
30 |
} |
31 |
|
32 |
+src_configure() { |
33 |
+ EGO_BUILD_FLAGS="-buildmode=$(usex pie pie default)" |
34 |
+} |
35 |
+ |
36 |
src_install() { |
37 |
dobin dnscrypt-proxy |