From e5136b18c607f0e0d71ac0a2734d68896f8838ad Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Wed, 3 Jul 2019 13:01:59 +0200 Subject: extra/java*-openjdk: unify patches --- extra/java7-openjdk/PKGBUILD | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'extra/java7-openjdk/PKGBUILD') diff --git a/extra/java7-openjdk/PKGBUILD b/extra/java7-openjdk/PKGBUILD index e8f34746..5015ea4a 100644 --- a/extra/java7-openjdk/PKGBUILD +++ b/extra/java7-openjdk/PKGBUILD @@ -7,3 +7,14 @@ makedepends_pentium4=("${makedepends_i686[@]}") if [ "${CARCH}" = "i486" ]; then _JARCH=i386 fi + +# pentium4-specific +if [ "${CARCH}" = "pentium4" ]; then + _JARCH=i386 + _DOC_ARCH=x86 +fi + +_nonheadless=( + "${_nonheadless[@]/\/\///${_JARCH}/}" +) +_imgdir="${_imgdir//--/-${_JARCH}-}" -- cgit v1.2.3-70-g09d2