diff options
author | Vlastimil Babka <caster@gentoo.org> | 2008-12-29 00:26:37 +0000 |
---|---|---|
committer | Vlastimil Babka <caster@gentoo.org> | 2008-12-29 00:26:37 +0000 |
commit | 9b557afc09d06660ad6e83ca56485026d10f2fc6 (patch) | |
tree | 8dd7580ae1368637bf8c214352c30fffd5b43b80 /app-editors | |
parent | Add EANT_NEEDS_TOOLS variable for adding tools.jar to gentoo.classpath, bug #... (diff) | |
download | gentoo-2-9b557afc09d06660ad6e83ca56485026d10f2fc6.tar.gz gentoo-2-9b557afc09d06660ad6e83ca56485026d10f2fc6.tar.bz2 gentoo-2-9b557afc09d06660ad6e83ca56485026d10f2fc6.zip |
Use the new EANT_NEEDS_TOOLS variable.
(Portage version: 2.2_rc19/cvs/Linux 2.6.27-gentoo-r1-perfctr x86_64)
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/jedit/ChangeLog | 5 | ||||
-rw-r--r-- | app-editors/jedit/jedit-4.3_pre16.ebuild | 17 |
2 files changed, 12 insertions, 10 deletions
diff --git a/app-editors/jedit/ChangeLog b/app-editors/jedit/ChangeLog index ada21f746b7a..bde0d94a80f2 100644 --- a/app-editors/jedit/ChangeLog +++ b/app-editors/jedit/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-editors/jedit # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/ChangeLog,v 1.85 2008/11/24 10:22:11 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/ChangeLog,v 1.86 2008/12/29 00:26:37 caster Exp $ + + 29 Dec 2008; Vlastimil Babka <caster@gentoo.org> jedit-4.3_pre16.ebuild: + Use the new EANT_NEEDS_TOOLS variable. *jedit-4.3_pre16 (24 Nov 2008) diff --git a/app-editors/jedit/jedit-4.3_pre16.ebuild b/app-editors/jedit/jedit-4.3_pre16.ebuild index 5bb105a96fc9..ae940f8965aa 100644 --- a/app-editors/jedit/jedit-4.3_pre16.ebuild +++ b/app-editors/jedit/jedit-4.3_pre16.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/jedit-4.3_pre16.ebuild,v 1.1 2008/11/24 10:22:11 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/jedit/jedit-4.3_pre16.ebuild,v 1.2 2008/12/29 00:26:37 caster Exp $ WANT_ANT_TASKS="ant-nodeps" @@ -33,9 +33,6 @@ src_unpack() { unpack ${A} cd "${S}" - # we need to use our own classpath - java-ant_rewrite-classpath build.xml - if use doc; then local xsl=$(echo /usr/share/sgml/docbook/xsl-stylesheets-*) xsl=${xsl// *} @@ -51,11 +48,13 @@ src_unpack() { # still need to do: bsh, com.microstar.xml.*, org.gjt.* java-pkg_filter-compiler jikes } -src_compile() { - # TODO could build more docs, ie userdocs target instead of generate-javadoc - eant build $(use_doc generate-javadoc) \ - -Dgentoo.classpath=$(java-config --tools) -} + +JAVA_ANT_REWRITE_CLASSPATH="true" +EANT_BUILD_TARGET="build" +# TODO could build more docs, ie userdocs target instead of generate-javadoc +EANT_DOC_TARGET="generate-javadoc" +# in fact needed only for docs, but shouldn't hurt +EANT_NEEDS_TOOLS="true" src_install () { dodir ${JEDIT_HOME} |