Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/java7-openjdk
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-11-09 13:53:18 +0100
committerErich Eckner <git@eckner.net>2018-11-09 13:53:18 +0100
commitbcb5133554da96e552b4d74fe48d336a80efebed (patch)
treed8a32204cde75836563f405691c83fc21f1fa95a /extra/java7-openjdk
parent15cb4dca227b2a7873adc64350601dde8d85f985 (diff)
"if [ $CARCH = ... ]; then depends=..; fi" => "depends_...=..."
Diffstat (limited to 'extra/java7-openjdk')
-rw-r--r--extra/java7-openjdk/PKGBUILD7
1 files changed, 4 insertions, 3 deletions
diff --git a/extra/java7-openjdk/PKGBUILD b/extra/java7-openjdk/PKGBUILD
index b36e427d..2112d4ad 100644
--- a/extra/java7-openjdk/PKGBUILD
+++ b/extra/java7-openjdk/PKGBUILD
@@ -1,7 +1,8 @@
+# gtk2 is an optdepend
+makedepends=(${makedepends[@]//gtk2/})
+makedepends_i686+=(gtk2)
+
# i486-specific
if [ "${CARCH}" = "i486" ]; then
_JARCH=i386
-
- # gtk2 is an optdepend
- makedepends=(${makedepends[@]//gtk2/})
fi