openbsd-ports/devel/eclipse/sdk/patches/patch-build
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

21 lines
1.9 KiB
Plaintext

$OpenBSD: patch-build,v 1.3 2006/07/07 01:48:55 kurt Exp $
--- build.orig Fri Jun 2 13:32:40 2006
+++ build Thu Jun 22 13:03:11 2006
@@ -1,6 +1,6 @@
#!/bin/sh
-ANT_OPTS=-Xmx1000M; export ANT_OPTS
+ANT_OPTS=-Xmx450M; export ANT_OPTS
os=""
ws=""
arch=""
@@ -60,7 +60,7 @@ then
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-x86" ] || [ "$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" = "hpux-motif-ia64_32" ]
+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-x86" ] || [ "$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" = "hpux-motif-ia64_32" ] || [ "$os-$ws-$arch" = "openbsd-gtk-x86" ] || [ "$os-$ws-$arch" = "openbsd-gtk-x86_64" ]
then
ORIGCLASSPATH=$CLASSPATH;export ORIGCLASSPATH
ant -q -buildfile jdtcoresrc/compilejdtcorewithjavac.xml