diff options
Diffstat (limited to 'www-servers/lighttpd/lighttpd-1.4.23.ebuild')
-rw-r--r-- | www-servers/lighttpd/lighttpd-1.4.23.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
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" |