Bug: https://bugs.gentoo.org/811105
Signed-off-by: Mike Gilbert <[email protected]>
---
 app-i18n/fbterm/fbterm-1.7_p20190503.ebuild | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/app-i18n/fbterm/fbterm-1.7_p20190503.ebuild 
b/app-i18n/fbterm/fbterm-1.7_p20190503.ebuild
index fa95d577d192..7aadffea21ad 100644
--- a/app-i18n/fbterm/fbterm-1.7_p20190503.ebuild
+++ b/app-i18n/fbterm/fbterm-1.7_p20190503.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -27,7 +27,7 @@ BDEPEND="virtual/pkgconfig"
 PATCHES=( "${FILESDIR}"/${PN}-autoconf-2.68.patch )
 
 FILECAPS=(
-       cap_sys_tty_config+ep usr/bin/${PN}
+       -m u+s cap_sys_tty_config+ep usr/bin/${PN}
 )
 
 src_prepare() {
@@ -48,12 +48,6 @@ src_compile() {
        emake AR="$(tc-getAR)"
 }
 
-src_install() {
-       default
-
-       use filecaps || fperms u+s /usr/bin/${PN}
-}
-
 pkg_postinst() {
        fcaps_pkg_postinst
 
-- 
2.50.1


Reply via email to