diff options
author | Tobias Scherbaum <dertobi123@gentoo.org> | 2009-02-24 17:07:42 +0000 |
---|---|---|
committer | Tobias Scherbaum <dertobi123@gentoo.org> | 2009-02-24 17:07:42 +0000 |
commit | 51689c4541d49b383102295a04277de3feef752e (patch) | |
tree | ca01e413abf469ece2f20518a45987a8bb03a815 /net-analyzer | |
parent | Version bump #247466. (diff) | |
download | gentoo-2-51689c4541d49b383102295a04277de3feef752e.tar.gz gentoo-2-51689c4541d49b383102295a04277de3feef752e.tar.bz2 gentoo-2-51689c4541d49b383102295a04277de3feef752e.zip |
Move libpng built_with_use check to an EAPI=2 use dependency, #260031
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/nagios-core/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/nagios-core/nagios-core-3.1.0.ebuild | 16 |
2 files changed, 7 insertions, 15 deletions
diff --git a/net-analyzer/nagios-core/ChangeLog b/net-analyzer/nagios-core/ChangeLog index de2e210ae6b5..7241fd70285d 100644 --- a/net-analyzer/nagios-core/ChangeLog +++ b/net-analyzer/nagios-core/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/nagios-core # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-core/ChangeLog,v 1.140 2009/02/01 16:39:13 klausman Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-core/ChangeLog,v 1.141 2009/02/24 17:07:42 dertobi123 Exp $ + + 24 Feb 2009; Tobias Scherbaum <dertobi123@gentoo.org> + nagios-core-3.1.0.ebuild: + Move libpng built_with_use check to an EAPI=2 use dependency, #260031 01 Feb 2009; Tobias Klausmann <klausman@gentoo.org> nagios-core-3.0.6-r1.ebuild: diff --git a/net-analyzer/nagios-core/nagios-core-3.1.0.ebuild b/net-analyzer/nagios-core/nagios-core-3.1.0.ebuild index fd96bd1ba1d1..650ef53855f2 100644 --- a/net-analyzer/nagios-core/nagios-core-3.1.0.ebuild +++ b/net-analyzer/nagios-core/nagios-core-3.1.0.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/net-analyzer/nagios-core/nagios-core-3.1.0.ebuild,v 1.2 2009/01/28 18:51:03 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagios-core/nagios-core-3.1.0.ebuild,v 1.3 2009/02/24 17:07:42 dertobi123 Exp $ EAPI="2" @@ -17,9 +17,7 @@ KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" IUSE="debug lighttpd perl +web vim-syntax" DEPEND="virtual/mailx web? ( - >=media-libs/jpeg-6b-r3 - >=media-libs/libpng-1.2.5-r4 - >=media-libs/gd-1.8.3-r5 + >=media-libs/gd-1.8.3-r5[jpeg,png] lighttpd? ( www-servers/lighttpd dev-lang/php[cgi] ) apache2? ( || ( dev-lang/php[apache2] dev-lang/php[cgi] ) ) ) @@ -32,16 +30,6 @@ want_apache2 S="${WORKDIR}/${MY_P}" pkg_setup() { - # Check if gd has been compiled with jpeg and png support - if use web; then - if ! built_with_use media-libs/gd jpeg png; then - eerror "Your gd has been compiled without jpeg and/or png support." - eerror "Please re-emerge gd:" - eerror "# USE="jpeg png" emerge gd" - die "pkg_setup failed" - fi - fi - enewgroup nagios enewuser nagios -1 /bin/bash /var/nagios/home nagios } |