OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /v/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 26-Aug-2007 11:09:36
Branch: HEAD Handle: 2007082610093600
Modified files:
openpkg-src/ecj ecj.spec
Log:
switch the Java virtual machine from JRE/java to GCC/gij as it makes
more sense to have a JDK/JRE independent ECJ (e.g. for bootstrapping
OpenJDK via IcedTea, etc)
Summary:
Revision Changes Path
1.2 +7 -6 openpkg-src/ecj/ecj.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/ecj/ecj.spec
============================================================================
$ cvs diff -u -r1.1 -r1.2 ecj.spec
--- openpkg-src/ecj/ecj.spec 25 Aug 2007 18:09:15 -0000 1.1
+++ openpkg-src/ecj/ecj.spec 26 Aug 2007 09:09:36 -0000 1.2
@@ -37,7 +37,7 @@
Group: Language
License: EPL
Version: %{V_opkg}
-Release: 20070825
+Release: 20070826
# list of sources
Source0:
http://download.eclipse.org/eclipse/downloads/drops/%{V_dist}/ecj.jar
@@ -46,14 +46,15 @@
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20060823
-PreReq: OpenPKG, openpkg >= 20060823, JRE
+PreReq: OpenPKG, openpkg >= 20060823, gcc, gcc::with_java = yes
AutoReq: no
AutoReqProv: no
%description
- Eclipse Compiler for Java (ECJ) is a free compiler for the Java
- 1.3/1.4/1.5/1.6 language which passes the Java Compatibility Kit
- (JCK). It is part of the Java Development Tools (JDT) from Eclipse.
+ Eclipse Compiler for Java (ECJ) is a free stand-alone compiler
+ for the Java 1.3/1.4/1.5/1.6 language which passes the Java
+ Compatibility Kit (JCK). It is part of the Java Development Tools
+ (JDT) from Eclipse.
%track
prog ecj = {
@@ -73,7 +74,7 @@
$RPM_BUILD_ROOT%{l_prefix}/bin \
$RPM_BUILD_ROOT%{l_prefix}/libexec/ecj
( echo "#!/bin/sh"
- echo "exec %{l_prefix}/bin/java \\%{l_nil}"
+ echo "exec %{l_prefix}/bin/gij \\%{l_nil}"
echo " -jar %{l_prefix}/libexec/ecj/ecj.jar \\%{l_nil}"
echo " \"[EMAIL PROTECTED]""
) >ecj.sh
@@ .
______________________________________________________________________
OpenPKG http://openpkg.org
CVS Repository Commit List [email protected]