diff options
author | Thilo Bangert <bangert@gentoo.org> | 2009-09-27 07:11:28 +0000 |
---|---|---|
committer | Thilo Bangert <bangert@gentoo.org> | 2009-09-27 07:11:28 +0000 |
commit | 257787a61c78d9e3471ba8a52f0b5783e984cee5 (patch) | |
tree | 6c85ecf001183a27aa5788a0a7de30efa4184dbe /www-servers | |
parent | Uses alternatives.eclass for dual life scripts, SRC_TEST=parallel for paralle... (diff) | |
download | gentoo-2-257787a61c78d9e3471ba8a52f0b5783e984cee5.tar.gz gentoo-2-257787a61c78d9e3471ba8a52f0b5783e984cee5.tar.bz2 gentoo-2-257787a61c78d9e3471ba8a52f0b5783e984cee5.zip |
fix tests when running as user - bug #286134 - thanks darkside
(Portage version: 2.2_rc42/cvs/Linux i686)
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/lighttpd/ChangeLog | 5 | ||||
-rw-r--r-- | www-servers/lighttpd/lighttpd-1.4.23.ebuild | 10 |
2 files changed, 13 insertions, 2 deletions
diff --git a/www-servers/lighttpd/ChangeLog b/www-servers/lighttpd/ChangeLog index 760acef0dfd8..617041311593 100644 --- a/www-servers/lighttpd/ChangeLog +++ b/www-servers/lighttpd/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for www-servers/lighttpd # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/ChangeLog,v 1.203 2009/09/26 19:42:51 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/ChangeLog,v 1.204 2009/09/27 07:11:28 bangert Exp $ + + 27 Sep 2009; Thilo Bangert <bangert@gentoo.org> lighttpd-1.4.23.ebuild: + fix tests when running as user - bug #286134 26 Sep 2009; Brent Baude <ranger@gentoo.org> lighttpd-1.4.23.ebuild: Marking lighttpd-1.4.23 ppc64 for bug 286134 diff --git a/www-servers/lighttpd/lighttpd-1.4.23.ebuild b/www-servers/lighttpd/lighttpd-1.4.23.ebuild index 87c608b02f82..ebbf84bfc0be 100644 --- a/www-servers/lighttpd/lighttpd-1.4.23.ebuild +++ b/www-servers/lighttpd/lighttpd-1.4.23.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/www-servers/lighttpd/lighttpd-1.4.23.ebuild,v 1.3 2009/09/26 19:42:51 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-servers/lighttpd/lighttpd-1.4.23.ebuild,v 1.4 2009/09/27 07:11:28 bangert Exp $ EAPI="2" @@ -132,6 +132,14 @@ src_compile() { fi } +src_test() { + if [[ ${EUID} -eq 0 ]]; then + default_src_test + else + ewarn "test skipped, please re-run as root if you wish to test ${PN}" + fi +} + src_install() { make DESTDIR="${D}" install || die "make install failed" |