Ignore:
Timestamp:
May 12, 2013 12:08:52 AM (7 years ago)
Author:
kytv <kytv@…>
Branches:
master
Children:
b096834
Parents:
dca5e98
Message:

improvements to jbigi scripts

support for Solaris (tested with Solaris 11 x86)

mbuild-all.sh:

  • output correctly formatted file names (tested in Solaris x86, FreeBSD (x86 and x64) and Linux (x86 & x64))
  • switch from echo -e to the more portable printf
  • more error checking, comments

debian/patches: refreshed based on changes to core/c/*
libjcpuid-x86_64-solaris.so: built in solaris 11 x86 with

java 1.7.0_07 and gcc 4.5.2, stripped

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/c/find-java-home

    rdca5e98 rc1da7f7  
    55    elif [ -d /usr/local/openjdk7 ]; then
    66        JAVA_HOME="/usr/local/openjdk7"
     7    fi
     8elif [ $UNIXTYPE = "sunos" ]; then
     9    UNIXTYPE="solaris"
     10    if [ -d /usr/jdk/latest/ ]; then
     11        JAVA_HOME="/usr/jdk/latest"
     12    elif [ -d /usr/jdk/instances/jdk1.7.0/ ]; then
     13        JAVA_HOME="/usr/jdk/instances/jdk1.7.0"
     14    elif [ -d /usr/jdk/instances/jdk1.6.0 ]; then
     15        JAVA_HOME="/usr/jdk/instances/jdk1.6.0"
    716    fi
    817elif [ $UNIXTYPE = "openbsd" ]; then
     
    2736    JAVA_HOME=$(/usr/libexec/java_home)
    2837elif [ $UNIXTYPE = "gnu/kfreebsd" ]; then
     38    UNIXTYPE="linux"
    2939    if [ -d /usr/lib/jvm/java-gcj ]; then
    3040        JAVA_HOME="/usr/lib/jvm/java-gcj"
     
    3242fi
    3343
    34 export JAVA_HOME
     44export JAVA_HOME UNIXTYPE
Note: See TracChangeset for help on using the changeset viewer.