summaryrefslogtreecommitdiffstats
path: root/openjdk/build/openjdk.SlackBuild
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2012-02-04 21:53:01 +0000
committer Eric Hameleers <alien@slackware.com>2012-02-04 21:53:01 +0000
commit8ae41d4b083ae99c4ef64db8a9b8ccfc0e04e93c (patch)
tree7168ba8bdb384eec88766307a5b5ebe1ddfdbcd1 /openjdk/build/openjdk.SlackBuild
parente72f2b3b199389cd67da4da81339918033da9bc8 (diff)
downloadasb-8ae41d4b083ae99c4ef64db8a9b8ccfc0e04e93c.tar.gz
asb-8ae41d4b083ae99c4ef64db8a9b8ccfc0e04e93c.tar.xz
Create a jre directory with symlinks to get our browser applet to work
Diffstat (limited to 'openjdk/build/openjdk.SlackBuild')
-rwxr-xr-xopenjdk/build/openjdk.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/openjdk/build/openjdk.SlackBuild b/openjdk/build/openjdk.SlackBuild
index 730b1a10..0c39b290 100755
--- a/openjdk/build/openjdk.SlackBuild
+++ b/openjdk/build/openjdk.SlackBuild
@@ -29,7 +29,7 @@ JAVABLD=b147
ICEDTEA=2.0
VERSION="${JAVAVER}_${JAVABLD}"
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
NUMJOBS=${NUMJOBS:--j6}
@@ -204,6 +204,13 @@ cp -a $PKG2/usr/lib${LIBDIRSUFFIX}/java/lib/fontconfig.{Ubuntu,}.bfc
ln -sf java jre${VERSION}
) || exit 1
+# Even more symlinks, this makes apps happy:
+( cd $PKG2/usr/lib${LIBDIRSUFFIX}/java
+ mkdir jre
+ ln -sf ../lib jre/lib
+ ln -sf ../bin jre/bin
+) || exit 1
+
# Add the profile scripts:
mkdir -p $PKG1/etc/profile.d $PKG2/etc/profile.d
for file in $(ls $CWD/profile.d/*) ; do