diff options
-rw-r--r-- | graphics/mozjpeg/README | 6 | ||||
-rw-r--r-- | graphics/mozjpeg/mozjpeg.SlackBuild | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/graphics/mozjpeg/README b/graphics/mozjpeg/README index a8d968a844c56..511af1e870596 100644 --- a/graphics/mozjpeg/README +++ b/graphics/mozjpeg/README @@ -54,7 +54,7 @@ Java Support Optionally, mozjpeg can be built with Java wrapper support for turbojpeg. To do this, install one of: jdk, openjdk8, openjdk7, or openjdk6 (or possibly one of the zulu-openjdk* -or adoptopenjdk* packages; untested). Then run this script with -JAVA=yes in the environment. The Java library will be installed -as /opt/mozjpeg/classes/turbojpeg.jar, and the docs will be in +packages; untested). Then run this script with JAVA=yes in +the environment. The Java library will be installed as +/opt/mozjpeg/classes/turbojpeg.jar, and the docs will be in /usr/doc/mozjpeg-$VERSION/javadoc. diff --git a/graphics/mozjpeg/mozjpeg.SlackBuild b/graphics/mozjpeg/mozjpeg.SlackBuild index 1a50e140c1f24..b31bbab2f5022 100644 --- a/graphics/mozjpeg/mozjpeg.SlackBuild +++ b/graphics/mozjpeg/mozjpeg.SlackBuild @@ -107,7 +107,7 @@ if [ "$JAVA" = "yes" ]; then # sure it actually matters that much ("write once, run anywhere" should # mean a .jar built with openjdk will run with Oracle's jdk, right? But # there's JNI (native code) involved...) - for i in jdk openjdk8 openjdk7 openjdk6; do + for i in jdk openjdk8 openjdk7 openjdk6 zulu-openjdk6 zulu-openjdk7 zulu-openjdk8 ; do if [ -x /etc/profile.d/$i.sh ]; then source /etc/profile.d/$i.sh break |