openbsd-ports/devel/eclipse/sdk/patches/patch-build_xml
kurt 8a60986c7d - update eclipse to 3.2
- add amd64 support
Thanks to Henrik Kramshøj for providing access to amd64. Tested by ian@.
2006-07-07 01:48:54 +00:00

48 lines
1.8 KiB
Plaintext

$OpenBSD: patch-build_xml,v 1.2 2006/07/07 01:48:55 kurt Exp $
--- build.xml.orig Fri Jun 2 13:32:40 2006
+++ build.xml Wed Jun 14 13:54:26 2006
@@ -80,17 +80,15 @@
<mkdir dir="${swtdir}" />
<move todir="${swtdir}/">
<fileset dir="${swtlibs}">
- <include name="**/*.so" />
+ <include name="**/*.so.*" />
</fileset>
</move>
<!--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" />
- </fileset>
- </unzip>
+ <copy todir="${launcherlibs}">
+ <fileset dir="${buildDirectory}/features/org.eclipse.platform.launchers" includes="**" excludes="**/*.orig"/>
+ </copy>
<exec dir="${launcherlibs}/library/${installWs}/" executable="sh" failonerror="true">
<arg line="build.sh" />
</exec>
@@ -285,9 +283,10 @@
</fail>
<property name="compilerArg" value="-encoding ISO-8859-1" />
- <property name="javacSource" value="1.3" />
- <property name="javacTarget" value="1.2" />
+ <property name="javacSource" value="1.5" />
+ <property name="javacTarget" value="1.5" />
<property name="javacDebugInfo" value="true" />
+ <property name="javacVerbose" value="false" />
<property name="javacFailOnError" value="true" />
<!--required property setting to build bundles in Eclipse 3.x stream builds -->
@@ -311,7 +310,7 @@
<!--used to add doc plug-ins to result after initial assembly-->
<condition property="archive.format" value="tar">
- <equals arg1="${installOs}" arg2="linux" />
+ <equals arg1="${installOs}" arg2="openbsd" />
</condition>
<property name="archive.format" value="zip" />
</target>