summaryrefslogtreecommitdiff
path: root/development/openjdk8/openjdk8.SlackBuild
diff options
context:
space:
mode:
authorStrahil Yordanov <strahilski@yahoo.com>2018-03-17 00:36:32 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-17 08:51:50 +0700
commit7dc3f54923e257bd796741485d7533b1264cafa9 (patch)
tree5bbf90a2d94f3071d833d5eae89005017ec7393d /development/openjdk8/openjdk8.SlackBuild
parent5dbe209a4d7b7a70fd34d006f71be5e172ef69a9 (diff)
downloadslackbuilds-7dc3f54923e257bd796741485d7533b1264cafa9.tar.gz
development/openjdk8: Updated for version 8u161.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/openjdk8/openjdk8.SlackBuild')
-rw-r--r--development/openjdk8/openjdk8.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/development/openjdk8/openjdk8.SlackBuild b/development/openjdk8/openjdk8.SlackBuild
index 034e80124c..d3b70b43c8 100644
--- a/development/openjdk8/openjdk8.SlackBuild
+++ b/development/openjdk8/openjdk8.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for OpenJDK
-# Copyright 2017 Strahil Yordanov, Sofia, Bulgaria
+# Copyright 2018 Strahil Yordanov, Sofia, Bulgaria
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,12 +23,12 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=openjdk8
-VERSION=${VERSION:-8u151b12}
+VERSION=${VERSION:-8u161}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
DVER=1.8.0_$(printf $VERSION | cut -du -f2)
-ICEDTEA=icedtea-3.6.0
+ICEDTEA=icedtea-3.7.0
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -53,6 +53,8 @@ else
fi
BOOT_JAVA=/usr/lib${LIBDIRSUFFIX}/openjdk
+[ ! -d ${BOOT_JAVA} ] && BOOT_JAVA=${BOOT_JAVA}8
+[ ! -d ${BOOT_JAVA} ] && { echo "Boot java not found"; exit 1; }
set -e
@@ -84,7 +86,6 @@ JAVA_HOME=${BOOT_JAVA} PATH=${BOOT_JAVA}/bin:$PATH ../$ICEDTEA/configure \
--with-hotspot-src-zip="$CWD/hotspot.tar.xz" \
--disable-docs \
--disable-downloading
-
JAVA_HOME=${BOOT_JAVA} PATH=${BOOT_JAVA}/bin:$PATH LOG=trace make
cd $PKG