diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2018-09-07 00:03:42 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2018-09-07 00:29:31 -0700 |
commit | 9270b991360567312b1ddedd0235c86c014caf8a (patch) | |
tree | 8bb537fa385e6d472be9b91649bdfa614901e423 /net-dns/dnscrypt-proxy | |
parent | mail-mta/postfix: add missing postfix-files.d directory (diff) | |
download | gentoo-9270b991360567312b1ddedd0235c86c014caf8a.tar.gz gentoo-9270b991360567312b1ddedd0235c86c014caf8a.tar.bz2 gentoo-9270b991360567312b1ddedd0235c86c014caf8a.zip |
net-dns/dnscrypt-proxy: add pie to live ebuild
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Diffstat (limited to 'net-dns/dnscrypt-proxy')
-rw-r--r-- | net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild index 98ba6f98e2c6..97e32d347371 100644 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild +++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild @@ -20,7 +20,7 @@ HOMEPAGE="https://github.com/jedisct1/dnscrypt-proxy" LICENSE="ISC" SLOT="0" -IUSE="test" +IUSE="pie test" FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy ) PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch ) @@ -38,6 +38,10 @@ src_prepare() { mv "vendor" "src/" || die } +src_configure() { + EGO_BUILD_FLAGS="-buildmode=$(usex pie pie default)" +} + src_install() { dobin dnscrypt-proxy |