summaryrefslogtreecommitdiff
path: root/java/eclipse-devel/files/patch-build
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--java/eclipse-devel/files/patch-build11
-rw-r--r--java/eclipse-devel/files/patch-build.xml41
2 files changed, 52 insertions, 0 deletions
diff --git a/java/eclipse-devel/files/patch-build b/java/eclipse-devel/files/patch-build
new file mode 100644
index 000000000000..0b3ac7f120a0
--- /dev/null
+++ b/java/eclipse-devel/files/patch-build
@@ -0,0 +1,11 @@
+--- build.orig Fri Apr 1 13:58:26 2005
++++ build Sun Apr 3 23:33:46 2005
+@@ -52,7 +52,7 @@
+ exit 1
+ fi
+
+-if [ "$os-$ws-$arch" = "linux-motif-x86" ] || [ "$os-$ws-$arch" = "linux-gtk-x86" ] || [ "$os-$ws-$arch" = "linux-gtk-x86_64" ] || [ "$os-$ws-$arch" = "linux-gtk-ia64" ] || [ "$os-$ws-$arch" = "solaris-motif-sparc" ] || [ "$os-$ws-$arch" = "solaris-gtk-sparc" ] || [ "$os-$ws-$arch" = "aix-motif-ppc" ] || [ "$os-$ws-$arch" = "hpux-motif-PA_RISC" ] || [ "$os-$ws-$arch" = "qnx-photon-x86" ] || [ "$os-$ws-$arch" = "win32-win32-x86" ] || [ "$os-$ws-$arch" = "linux-gtk-ppc" ] || [ "$os-$ws-$arch" = "linux-gtk-ppc64" ] || [ "$os-$ws-$arch" = "macosx-carbon-ppc" ] || [ "$os-$ws-$arch" = "hpux-motif-ia64" ]
++if [ "$os-$ws-$arch" = "linux-motif-x86" ] || [ "$os-$ws-$arch" = "linux-gtk-x86" ] || [ "$os-$ws-$arch" = "linux-gtk-x86_64" ] || [ "$os-$ws-$arch" = "linux-gtk-ia64" ] || [ "$os-$ws-$arch" = "solaris-motif-sparc" ] || [ "$os-$ws-$arch" = "solaris-gtk-sparc" ] || [ "$os-$ws-$arch" = "aix-motif-ppc" ] || [ "$os-$ws-$arch" = "hpux-motif-PA_RISC" ] || [ "$os-$ws-$arch" = "qnx-photon-x86" ] || [ "$os-$ws-$arch" = "win32-win32-x86" ] || [ "$os-$ws-$arch" = "linux-gtk-ppc" ] || [ "$os-$ws-$arch" = "linux-gtk-ppc64" ] || [ "$os-$ws-$arch" = "macosx-carbon-ppc" ] || [ "$os-$ws-$arch" = "hpux-motif-ia64" ] || [ "$os-$ws-$arch" = "freebsd-gtk-x86" ] || [ "$os-$ws-$arch" = "freebsd-motif-x86" ] || [ "$os-$ws-$arch" = "freebsd-gtk-amd64" ]
+ then
+ ORIGCLASSPATH=$CLASSPATH;export ORIGCLASSPATH
+ ant -q -buildfile jdtcoresrc/compilejdtcorewithjavac.xml
diff --git a/java/eclipse-devel/files/patch-build.xml b/java/eclipse-devel/files/patch-build.xml
new file mode 100644
index 000000000000..a2419ca04c7b
--- /dev/null
+++ b/java/eclipse-devel/files/patch-build.xml
@@ -0,0 +1,41 @@
+--- build.xml.orig Fri Apr 1 13:58:26 2005
++++ build.xml Sat Apr 9 17:03:28 2005
+@@ -48,17 +48,20 @@
+ <equals arg1="${installOs}-${installWs}-${installArch}" arg2="linux-gtk-ppc64"/>
+ <equals arg1="${installOs}-${installWs}-${installArch}" arg2="linux-gtk-ia64"/>
+ <equals arg1="${installOs}-${installWs}-${installArch}" arg2="linux-gtk-x86_64"/>
++ <equals arg1="${installOs}-${installWs}-${installArch}" arg2="freebsd-gtk-amd64"/>
+ </or>
+ </condition>
+ <condition property="wsType" value="gtk">
+ <or>
+ <equals arg1="${installOs}-${installWs}-${installArch}" arg2="linux-gtk-ppc"/>
+ <equals arg1="${installOs}-${installWs}-${installArch}" arg2="linux-gtk-x86"/>
++ <equals arg1="${installOs}-${installWs}-${installArch}" arg2="freebsd-gtk-x86"/>
+ </or>
+ </condition>
+ <condition property="wsType" value="motif">
+ <or>
+ <equals arg1="${installOs}-${installWs}-${installArch}" arg2="linux-motif-x86"/>
++ <equals arg1="${installOs}-${installWs}-${installArch}" arg2="freebsd-motif-x86"/>
+ <equals arg1="${installOs}-${installWs}-${installArch}" arg2="hpux-motif-ia64"/>
+ </or>
+ </condition>
+@@ -82,12 +85,12 @@
+ <!--unzip launcher -->
+ <property name="launcherlibs" value="${buildDirectory}/launchertmp"/>
+ <mkdir dir="${launcherlibs}"/>
+- <unzip dest="${launcherlibs}">
+- <fileset dir="${buildDirectory}/plugins/org.eclipse.platform.source/src/">
+- <include name ="org.eclipse.platform_*/launchersrc.zip"/>
++ <copy todir="${launcherlibs}">
++ <fileset dir="${buildDirectory}/features/org.eclipse.launchers">
++ <include name ="**"/>
+ </fileset>
+- </unzip>
+- <exec dir="${launcherlibs}/library/${installWs}/" executable="sh" os="Linux" failonerror="true">
++ </copy>
++ <exec dir="${launcherlibs}/library/${installWs}/" executable="sh" os="FreeBSD" failonerror="true">
+ <arg line="build.sh"/>
+ </exec>
+ <move file="${launcherlibs}/library/${installWs}/eclipse" todir="${launcherlibs}/"/>