summaryrefslogtreecommitdiff
path: root/java/eclipse-devel/files/patch-features-equinox-executable-library-gtk-build.sh
blob: 9d0befce6b1947efdcb9b7522ba95fd1a030e314 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- features/org.eclipse.equinox.executable/library/gtk/build.sh.orig	2007-06-26 04:57:45.000000000 +0900
+++ features/org.eclipse.equinox.executable/library/gtk/build.sh	2007-08-25 14:35:16.000000000 +0900
@@ -10,6 +10,9 @@
 #     IBM Corporation - initial API and implementation
 #     Kevin Cornell (Rational Software Corporation)
 # Martin Oberhuber (Wind River) - [176805] Support building with gcc and debug
+#
+#   This is from "features/org.eclipse.equinox.executable/library/gtk/build.sh"
+#
 #*******************************************************************************
 #
 # Usage: sh build.sh [<optional switches>] [clean]
@@ -50,6 +53,25 @@
 fi
 
 case $OS in
+	"FreeBSD")
+		makefile="make_freebsd.mak"
+		defaultOS="freebsd"
+		case $MODEL in
+			"amd64")
+				defaultOSArch="amd64"
+				defaultJava=DEFAULT_JAVA_EXEC
+				OUTPUT_DIR="../../bin/$defaultWS/$defaultOS/$defaultOSArch"
+				;;
+			i?86)
+				defaultOSArch="x86"
+				defaultJava=DEFAULT_JAVA_EXEC
+				OUTPUT_DIR="../../bin/$defaultWS/$defaultOS/$defaultOSArch"
+				;;
+			*)
+				echo "*** Unknown MODEL <${MODEL}>"
+				;;
+		esac
+		;;
 	"Linux")
 		makefile="make_linux.mak"
 		defaultOS="linux"