summaryrefslogtreecommitdiffstats
path: root/trinity-base/konsole/konsole-9999.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'trinity-base/konsole/konsole-9999.ebuild')
-rw-r--r--trinity-base/konsole/konsole-9999.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/trinity-base/konsole/konsole-9999.ebuild b/trinity-base/konsole/konsole-9999.ebuild
index a5acc6f0..c017f04d 100644
--- a/trinity-base/konsole/konsole-9999.ebuild
+++ b/trinity-base/konsole/konsole-9999.ebuild
@@ -9,16 +9,20 @@ inherit trinity-meta-2
DESCRIPTION="X terminal for use with Trinity."
+IUSE="sudo"
+
DEPEND="x11-libs/libX11
x11-libs/libXrender"
RDEPEND="${DEPEND}
+ sudo? ( app-admin/sudo )
x11-apps/bdftopcf
=trinity-base/kcontrol-${PV}"
src_configure() {
mycmakeargs=(
-DWITH_XRENDER=ON
+ -DWITH_SUDO_KONSOLE_SUPER_USER_COMMAND="$(usex sudo)"
)
trinity-meta-2_src_configure