From 4a5550bd8060cb706008fcb5ca378f295d64180f Mon Sep 17 00:00:00 2001 From: Peter Volkov Date: Wed, 27 May 2009 19:52:25 +0000 Subject: Don't check for FEATURES inside ebuild. Package-Manager: portage-2.2_rc33/cvs/Linux i686 --- app-text/dictd/dictd-1.11.1-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app-text/dictd/dictd-1.11.1-r1.ebuild') diff --git a/app-text/dictd/dictd-1.11.1-r1.ebuild b/app-text/dictd/dictd-1.11.1-r1.ebuild index 226d7c5d9d9c..832d1885c9f9 100644 --- a/app-text/dictd/dictd-1.11.1-r1.ebuild +++ b/app-text/dictd/dictd-1.11.1-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.11.1-r1.ebuild,v 1.2 2009/05/25 13:09:26 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/dictd/dictd-1.11.1-r1.ebuild,v 1.3 2009/05/27 19:52:25 pva Exp $ EAPI=2 @@ -52,7 +52,7 @@ src_compile() { src_test() { use minimal && return 0 # All tests are for dictd which we don't build... - if ! hasq userpriv "${FEATURES}"; then + if [[ ${EUID} -eq 0 ]]; then # If dictd is run as root user (-userpriv) it drops its privileges to # dictd user and group. Give dictd group write access to test directory. chown :dictd "${WORKDIR}" "${S}/test" -- cgit v1.2.3-65-gdbad