summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/xscreensaver/xscreensaver-5.43-r2.ebuild')
-rw-r--r--x11-misc/xscreensaver/xscreensaver-5.43-r2.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11-misc/xscreensaver/xscreensaver-5.43-r2.ebuild b/x11-misc/xscreensaver/xscreensaver-5.43-r2.ebuild
index d5c1aeca6ef0..31c271493a21 100644
--- a/x11-misc/xscreensaver/xscreensaver-5.43-r2.ebuild
+++ b/x11-misc/xscreensaver/xscreensaver-5.43-r2.ebuild
@@ -13,7 +13,7 @@ SRC_URI="
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
-IUSE="gdm jpeg new-login offensive opengl pam +perl selinux suid xinerama"
+IUSE="caps gdm jpeg new-login offensive opengl pam +perl selinux suid xinerama"
COMMON_DEPEND="
>=gnome-base/libglade-2
@@ -32,6 +32,7 @@ COMMON_DEPEND="
x11-libs/libXt
x11-libs/libXxf86misc
x11-libs/libXxf86vm
+ caps? ( sys-libs/libcap )
jpeg? ( virtual/jpeg:0 )
new-login? (
gdm? ( gnome-base/gdm )
@@ -102,6 +103,7 @@ src_configure() {
export RPM_PACKAGE_VERSION=no #368025
econf \
+ $(use_with caps setcap-hacks) \
$(use_with jpeg) \
$(use_with new-login login-manager) \
$(use_with opengl gl) \