summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2009-05-27 19:52:25 +0000
committerPeter Volkov <pva@gentoo.org>2009-05-27 19:52:25 +0000
commit4a5550bd8060cb706008fcb5ca378f295d64180f (patch)
tree6bad4e92569a7a65111cc0142d56a09608b8e977 /app-text/dictd/dictd-1.11.1-r1.ebuild
parentRevision bump, add patch for gadu, security bug 264613, add v4l2 use flag, bu... (diff)
downloadhistorical-4a5550bd8060cb706008fcb5ca378f295d64180f.tar.gz
historical-4a5550bd8060cb706008fcb5ca378f295d64180f.tar.bz2
historical-4a5550bd8060cb706008fcb5ca378f295d64180f.zip
Don't check for FEATURES inside ebuild.
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'app-text/dictd/dictd-1.11.1-r1.ebuild')
-rw-r--r--app-text/dictd/dictd-1.11.1-r1.ebuild4
1 files changed, 2 insertions, 2 deletions
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"