diff options
author | 2009-02-18 03:03:32 +0000 | |
---|---|---|
committer | 2009-02-18 03:03:32 +0000 | |
commit | f53728c92d22eb5271bfef0ffa09b39163c4b3ec (patch) | |
tree | 89a078f80f52b82016de4071fb4f9820aa84f151 /dev-util/astyle/astyle-1.22.ebuild | |
parent | Version bump and old version cleanup (diff) | |
download | gentoo-2-f53728c92d22eb5271bfef0ffa09b39163c4b3ec.tar.gz gentoo-2-f53728c92d22eb5271bfef0ffa09b39163c4b3ec.tar.bz2 gentoo-2-f53728c92d22eb5271bfef0ffa09b39163c4b3ec.zip |
updated DEPs to use jdk instead of jre (fixes bug #256610)
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/astyle/astyle-1.22.ebuild')
-rw-r--r-- | dev-util/astyle/astyle-1.22.ebuild | 26 |
1 files changed, 6 insertions, 20 deletions
diff --git a/dev-util/astyle/astyle-1.22.ebuild b/dev-util/astyle/astyle-1.22.ebuild index 5f109587ee5a..8adf5b3b7a5d 100644 --- a/dev-util/astyle/astyle-1.22.ebuild +++ b/dev-util/astyle/astyle-1.22.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/astyle/astyle-1.22.ebuild,v 1.11 2008/12/02 22:49:28 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/astyle/astyle-1.22.ebuild,v 1.12 2009/02/18 03:03:32 nerdboy Exp $ inherit eutils java-pkg-opt-2 toolchain-funcs @@ -14,24 +14,12 @@ KEYWORDS="alpha amd64 ppc ~ppc64 sparc x86" IUSE="debug java libs" -RDEPEND="java? ( >=virtual/jre-1.6 )" +RDEPEND="java? ( >=virtual/jdk-1.6 )" -DEPEND="java? ( >=virtual/jre-1.6 )" +DEPEND="java? ( >=virtual/jdk-1.6 )" S=${WORKDIR}/${PN} -pkg_setup() { - if use java ; then - java-pkg-opt-2_pkg_setup - - if use x86; then - jvmarch=i386 - else - jvmarch=${ARCH} - fi - fi -} - src_unpack() { unpack ${A} cd "${S}" @@ -48,10 +36,8 @@ src_unpack() { src_compile() { cd buildgcc - local build_targets="all" - use java && build_targets="${build_targets} javaall" - - emake CXX="$(tc-getCXX)" ${build_targets} || die "build failed" + emake CXX="$(tc-getCXX)" all $(use java && echo javaall) \ + || die "build failed" } src_install() { |