openbsd-ports/devel/eclipse/sdk/patches/patch-build
kurt 6065bc244c - update to 3.2.2
- SHARED_ONLY=Yes
- sprinkle some -nowarn to reduce verbosity caused by building with
  1.5 only (reqested by espie@)
- increase memory use during build to reduce jvm thrashing and cut 1/3 off
  the build time
2007-04-13 14:30:43 +00:00

21 lines
1.9 KiB
Plaintext

$OpenBSD: patch-build,v 1.4 2007/04/13 14:30:43 kurt Exp $
--- build.orig Mon Feb 12 13:46:55 2007
+++ build Thu Apr 12 16:27:32 2007
@@ -1,6 +1,6 @@
#!/bin/sh
-ANT_OPTS=-Xmx1000M; export ANT_OPTS
+ANT_OPTS=-Xmx500M; 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