Lines 15-21
Link Here
|
15 |
fi |
15 |
fi |
16 |
|
16 |
|
17 |
IUSE_SERVERS="dmx kdrive wayland xephyr xnest xorg xvfb" |
17 |
IUSE_SERVERS="dmx kdrive wayland xephyr xnest xorg xvfb" |
18 |
IUSE="${IUSE_SERVERS} debug +glamor ipv6 libressl minimal selinux systemd +udev unwind xcsecurity" |
18 |
IUSE="${IUSE_SERVERS} debug +glamor ipv6 libressl minimal selinux +setuid systemd +udev unwind xcsecurity" |
19 |
|
19 |
|
20 |
CDEPEND=">=app-eselect/eselect-opengl-1.3.0 |
20 |
CDEPEND=">=app-eselect/eselect-opengl-1.3.0 |
21 |
!libressl? ( dev-libs/openssl:0= ) |
21 |
!libressl? ( dev-libs/openssl:0= ) |
Lines 133-138
Link Here
|
133 |
} |
133 |
} |
134 |
|
134 |
|
135 |
src_configure() { |
135 |
src_configure() { |
|
|
136 |
if use setuid && ! use systemd ; then |
137 |
INSTALL_SETUID='--enable-install-setuid' |
138 |
fi |
136 |
# localstatedir is used for the log location; we need to override the default |
139 |
# localstatedir is used for the log location; we need to override the default |
137 |
# from ebuild.sh |
140 |
# from ebuild.sh |
138 |
# sysconfdir is used for the xorg.conf location; same applies |
141 |
# sysconfdir is used for the xorg.conf location; same applies |
Lines 163-169
Link Here
|
163 |
$(use_with systemd systemd-daemon) |
166 |
$(use_with systemd systemd-daemon) |
164 |
$(use_enable systemd systemd-logind) |
167 |
$(use_enable systemd systemd-logind) |
165 |
$(use_enable systemd suid-wrapper) |
168 |
$(use_enable systemd suid-wrapper) |
166 |
$(use_enable !systemd install-setuid) |
169 |
$INSTALL_SETUID |
167 |
--enable-libdrm |
170 |
--enable-libdrm |
168 |
--sysconfdir="${EPREFIX}"/etc/X11 |
171 |
--sysconfdir="${EPREFIX}"/etc/X11 |
169 |
--localstatedir="${EPREFIX}"/var |
172 |
--localstatedir="${EPREFIX}"/var |