Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/java7-openjdk/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-10-18 16:21:11 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2018-10-18 16:21:11 +0200
commit28661c21f2d971cd535b4c713c71640e49884a2f (patch)
tree8a580d2bcc1aad3d58692c959751a40afd6b160b /extra/java7-openjdk/PKGBUILD
parent3b85411c43834ecca980d62bd484370574921d03 (diff)
extra/java7-openjdk: some i486 bootstrapping added
Diffstat (limited to 'extra/java7-openjdk/PKGBUILD')
-rw-r--r--extra/java7-openjdk/PKGBUILD20
1 files changed, 19 insertions, 1 deletions
diff --git a/extra/java7-openjdk/PKGBUILD b/extra/java7-openjdk/PKGBUILD
index 3e11f2e9..3e010da8 100644
--- a/extra/java7-openjdk/PKGBUILD
+++ b/extra/java7-openjdk/PKGBUILD
@@ -1 +1,19 @@
-[ "$CARCH" = "i486" ] && _JARCH=i386
+# i486-specific
+if [ "${CARCH}" = "i486" ]; then
+ _JARCH=i386
+
+ # a lot of things missing during bootstrapping
+ makedepends=(${makedepends[@]//libpulse>=0.9.11/})
+ makedepends=(${makedepends[@]//gtk2/})
+ makedepends=(${makedepends[@]//java-rhino/})
+ makedepends=(${makedepends[@]//eclipse-ecj/})
+
+ eval "$(
+ declare -f build | \
+ sed '
+ s|--with-rhino|--without-rhino|
+ s|--with-jdk-home=${JAVA_HOME}|--with-jdk-home=/opt/jdk7-openjdk|
+ '
+ )"
+
+fi