commit:     d8653fbdad025a9be706f006ce8482a50610f1b3
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Mon Jan 23 12:42:51 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Mon Jan 23 12:42:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d8653fbd

net-im/nheko: add pie USE-flag

Closes: https://bugs.gentoo.org/890903
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>

 net-im/nheko/nheko-0.11.1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-im/nheko/nheko-0.11.1.ebuild b/net-im/nheko/nheko-0.11.1.ebuild
index d22492e86..5e82ec12f 100644
--- a/net-im/nheko/nheko-0.11.1.ebuild
+++ b/net-im/nheko/nheko-0.11.1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/Nheko-Reborn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE="X video voip"
+IUSE="X +pie video voip"
 REQUIRED_USE="video? ( voip )"
 
 MY_GST_V="1.18"
@@ -68,6 +68,7 @@ BDEPEND="
 src_configure() {
        local -a mycmakeargs=(
                "-DVOIP=$(usex voip)"
+               "-DCMAKE_POSITION_INDEPENDENT_CODE=$(usex pie)"
        )
        if use video && use X; then
                mycmakeargs+=("-DSCREENSHARE_X11=yes")

Reply via email to