diff options
author | Alexander Tsoy <alexander@tsoy.me> | 2018-11-11 09:32:35 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2018-11-11 09:44:05 -0800 |
commit | 1ff2b10d87b24961693bc23b97fafb46f8891c76 (patch) | |
tree | 7ba91dca77cf271b1d3d9f8e69febe22b08ba32b /x11-base | |
parent | app-emulation/wine-any: Drop old (diff) | |
download | gentoo-1ff2b10d87b24961693bc23b97fafb46f8891c76.tar.gz gentoo-1ff2b10d87b24961693bc23b97fafb46f8891c76.tar.bz2 gentoo-1ff2b10d87b24961693bc23b97fafb46f8891c76.zip |
x11-base/xorg-server: Enable suid-wrapper if USE=suid
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'x11-base')
-rw-r--r-- | x11-base/xorg-server/xorg-server-1.20.3.ebuild | 4 | ||||
-rw-r--r-- | x11-base/xorg-server/xorg-server-9999.ebuild | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/x11-base/xorg-server/xorg-server-1.20.3.ebuild b/x11-base/xorg-server/xorg-server-1.20.3.ebuild index ee373ffae9fc..ef1b59202acf 100644 --- a/x11-base/xorg-server/xorg-server-1.20.3.ebuild +++ b/x11-base/xorg-server/xorg-server-1.20.3.ebuild @@ -162,8 +162,8 @@ src_configure() { $(use_with doc xmlto) $(use_with systemd systemd-daemon) $(use_enable systemd systemd-logind) - $(use_enable systemd suid-wrapper) - $(use_enable suid install-setuid) + $(usex suid $(use_enable systemd suid-wrapper) '--disable-suid-wrapper') + $(usex suid $(use_enable !systemd install-setuid) '--disable-install-setuid') --enable-libdrm --sysconfdir="${EPREFIX}"/etc/X11 --localstatedir="${EPREFIX}"/var diff --git a/x11-base/xorg-server/xorg-server-9999.ebuild b/x11-base/xorg-server/xorg-server-9999.ebuild index 6f158c57aacd..54a0459e9f28 100644 --- a/x11-base/xorg-server/xorg-server-9999.ebuild +++ b/x11-base/xorg-server/xorg-server-9999.ebuild @@ -163,8 +163,8 @@ src_configure() { $(use_with doc xmlto) $(use_with systemd systemd-daemon) $(use_enable systemd systemd-logind) - $(use_enable systemd suid-wrapper) - $(use_enable suid install-setuid) + $(usex suid $(use_enable systemd suid-wrapper) '--disable-suid-wrapper') + $(usex suid $(use_enable !systemd install-setuid) '--disable-install-setuid') --enable-libdrm --sysconfdir="${EPREFIX}"/etc/X11 --localstatedir="${EPREFIX}"/var |