summaryrefslogtreecommitdiff
path: root/extra/libjpeg-turbo/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libjpeg-turbo/PKGBUILD')
-rw-r--r--extra/libjpeg-turbo/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/extra/libjpeg-turbo/PKGBUILD b/extra/libjpeg-turbo/PKGBUILD
index e33bc686..15f620d3 100644
--- a/extra/libjpeg-turbo/PKGBUILD
+++ b/extra/libjpeg-turbo/PKGBUILD
@@ -1,6 +1,9 @@
+# no Java on i486
+makedepends=(${makedepends[@]//jdk8-openjdk/})
+makedepends_i686+=(jdk8-openjdk)
+
if [ "${CARCH}" = "i486" ]; then
# no Java
- makedepends=(${makedepends[@]//jdk8-openjdk/})
eval "$(
declare -f build | \
sed '