freebsd-ports/java/eclipse/files/patch-build
Norikatsu Shigemura 9e2dbd4bf1 o Update to 3.0.1. [1]
o Use native JDK rather than linux-sun-jdk. [2]
o Utilize WITH_MOZILLA.  It provies to use mozilla or firefox. [2]
o Fix some port's bugs. [2]
o Add zip to BUILD_DEPENDS and fix build error without zip. [3]

PR:		ports/72990 [1], ports/72475 [2]
Submitted by:	Jeremy Faulkner <gldisater@gldis.ca> [1], [2]
Pointed out by:	pointy via kris [3]
2004-10-27 16:57:48 +00:00

22 lines
1.6 KiB
Text

--- build.orig Thu Sep 16 15:50:23 2004
+++ build Sat Oct 23 06:19:32 2004
@@ -1,6 +1,6 @@
#! /bin/sh
-export ANT_OPTS=-Xmx1000M
+export ANT_OPTS=-Xmx128M
bootclasspath=$JAVA_HOME/jre/lib/rt.jar
os=""
@@ -51,9 +51,9 @@
exit 1
fi
-if [ "$os-$ws-$arch" = "linux-motif-x86" ] || [ "$os-$ws-$arch" = "linux-gtk-x86" ] || [ "$os-$ws-$arch" = "linux-gtk-amd64" ] || [ "$os-$ws-$arch" = "linux-gtk-ia64" ] ||[ "$os-$ws-$arch" = "solaris-motif-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" = "macosx-carbon-ppc" ]
+if [ "$os-$ws-$arch" = "linux-motif-x86" ] || [ "$os-$ws-$arch" = "linux-gtk-x86" ] || [ "$os-$ws-$arch" = "linux-gtk-amd64" ] || [ "$os-$ws-$arch" = "linux-gtk-ia64" ] ||[ "$os-$ws-$arch" = "solaris-motif-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" = "macosx-carbon-ppc" ] || [ "$os-$ws-$arch" = "freebsd-gtk-x86" ] || [ "$os-$ws-$arch" = "freebsd-motif-x86" ]
then
- ant -buildfile build.xml $target -DinstallOs=$os -DinstallWs=$ws -DinstallArch=$arch -Dbootclasspath=$bootclasspath -DjavacTarget=1.2
+ ant -buildfile build.xml $target -DinstallOs=$os -DinstallWs=$ws -DinstallArch=$arch -Dbootclasspath=$bootclasspath -DjavacTarget=1.4
else
echo "The os-ws-arch combination of $os-$ws-$arch is not valid."
exit 1