diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-03-10 17:45:40 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-03-10 17:45:40 +0000 |
commit | f5ffbdb51d81bb03bcfee2f5a3e3edb67ff5c146 (patch) | |
tree | b22a5258d45ed38532d721f57d5b169ea28be71d /dev-java/bsh/files/bsh2-build.patch | |
parent | Stable on ppc64 (diff) | |
download | gentoo-2-f5ffbdb51d81bb03bcfee2f5a3e3edb67ff5c146.tar.gz gentoo-2-f5ffbdb51d81bb03bcfee2f5a3e3edb67ff5c146.tar.bz2 gentoo-2-f5ffbdb51d81bb03bcfee2f5a3e3edb67ff5c146.zip |
new version, improvements, build from source, generall cleanup and much more. fixes #62664 and #81879. Ebuild based on the contribution by Saleem A. <compnerd@gentoo.org>, thanks to Diego Pettenò' <dgp85@users.sourceforge.net> for the patch.
(Portage version: 2.0.51.19)
Diffstat (limited to 'dev-java/bsh/files/bsh2-build.patch')
-rw-r--r-- | dev-java/bsh/files/bsh2-build.patch | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/dev-java/bsh/files/bsh2-build.patch b/dev-java/bsh/files/bsh2-build.patch new file mode 100644 index 000000000000..4ab3112c47cb --- /dev/null +++ b/dev-java/bsh/files/bsh2-build.patch @@ -0,0 +1,54 @@ +--- BeanShell/build.xml~ 2004-01-20 19:12:20.888557245 -0500 ++++ BeanShell/build.xml 2004-01-20 19:13:36.150184282 -0500 +@@ -103,50 +103,7 @@ + value="docs/manual/bshcommands-bshdoc.xml"/> + + <!-- Begin Targets --> +- +- <!-- The javacc targets could be smarter... --> +- <target name="checkjjt"> +- <uptodate property="jjtree.notRequired" +- targetfile="${src-dir}/bsh/bsh.jj" +- > +- <srcfiles dir="${src-dir}/bsh" includes="bsh.jjt"/> +- </uptodate> +- </target> +- <target name="checkjj"> +- <uptodate property="javacc.notRequired" +- targetfile="${src-dir}/bsh/Parser.java" +- > +- <srcfiles dir="${src-dir}/bsh" includes="bsh.jj"/> +- </uptodate> +- </target> +- +- <!-- Create bsh.jj when bsh.jjt changes. --> +- <target name="jjtree" unless="jjtree.notRequired" depends="checkjjt"> +- <java classname="jjtree" +- fork="yes" +- failonerror="yes" > +- <arg +- line="-OUTPUT_DIRECTORY=${src-dir}/bsh ${src-dir}/bsh/bsh.jjt"/> +- <classpath> +- <fileset refid="lib-fileset"/> +- </classpath> +- </java> +- </target> +- +- <!-- Create Parser.java when bsh.jj changes. --> +- <target name="javacc" unless="javacc.notRequired" depends="checkjj"> +- <java classname="javacc" +- fork="yes" +- failonerror="yes" > +- <!-- classpath="${javacc-lib}" --> +- <arg line="-OUTPUT_DIRECTORY=${src-dir}/bsh ${src-dir}/bsh/bsh.jj"/> +- <classpath> +- <fileset refid="lib-fileset"/> +- </classpath> +- </java> +- </target> +- +- <target name="compile" depends="jjtree,javacc,builddir"> ++ <target name="compile" depends="builddir"> + <!-- exclude the ${excludes} as well as anything under a "bak" dir --> + <!--compiler="${build-compiler}"--> + <javac srcdir="${src-dir}:${test-src-dir}:${bsf-src-dir}" |