summaryrefslogtreecommitdiff
path: root/set_soenv.in
diff options
context:
space:
mode:
authorCaolán McNamara <cmc@openoffice.org>2010-06-11 20:07:01 +0100
committerCaolán McNamara <cmc@openoffice.org>2010-06-11 20:07:01 +0100
commitb96df8f62a8f7706bca64c9ab1eb577436a93974 (patch)
tree3af06cc217bbd5fd9a27a3f86b3608bed26346a8 /set_soenv.in
parentd9a0f01dddeedaf968c4b13636cf412808ce5ce8 (diff)
parent7c44b29149c7b22a2d8a4d3377c5af6d42d8e6be (diff)
cmcfixes75: merge with DEV300 m81
Diffstat (limited to 'set_soenv.in')
-rw-r--r--set_soenv.in41
1 files changed, 41 insertions, 0 deletions
diff --git a/set_soenv.in b/set_soenv.in
index 3698a92d399f..9d698ca4a054 100644
--- a/set_soenv.in
+++ b/set_soenv.in
@@ -302,6 +302,47 @@ elsif ( $platform =~ m/netbsd/ )
$OS = "NETBSD";
$PATH_SEPERATOR = $ps;
}
+elsif ( $platform =~ m/kfreebsd/ )
+{
+# General GNU/kFreeBSD settings:
+ $CVER = "C341";
+ $BIG_SVX = "TRUE";
+ $COM = "GCC";
+ $COMPATH = '@COMPATH@';
+ $GLIBC = "2REDHAT60";
+ $GUI = "UNX";
+ $GUIBASE = "unx";
+ $GVER = "VCL";
+ $OS = "LINUX";
+ $PATH_SEPERATOR = $ps;
+
+#Set platform specific values:
+ if ($platform =~ m/^i[3456]86/)
+ { print "Setting GNU/kFreeBSD x86 specific values... ";
+ $outfile = "GNUkFreeBSDX86Env.Set";
+ $CPU = "I";
+ $CPUNAME = "INTEL";
+ $OUTPATH = "unxkfgi6";
+
+ $JRELIBDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386";
+ $JRETOOLKITDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."client";
+ $JRETHREADDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."i386".$ds."native_threads";
+
+ }
+ elsif ($platform =~ m/^x86_64/)
+ { print "Setting GNU/kFreeBSD x86-64 specific values... ";
+ $outfile = "GNUkFreeBSDX86-64Env.Set";
+ $CPU = "X";
+ $CPUNAME = "X86_64";
+ $OUTPATH = "unxkfgx6";
+
+ $JRELIBDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."amd64";
+ $JRETOOLKITDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."amd64".$ds."server";
+ $JRETHREADDIR = '$JAVA_HOME'.$ds."jre".$ds."lib".$ds."amd64".$ds."native_threads";
+ }
+
+ $INPATH = $OUTPATH.$PROEXT;
+}
elsif ( $platform =~ m/freebsd/ )
{ $BIG_SVX = "TRUE";
$COM = "GCC";