From 37865cb75b1e3dbaa123b1b1a807d8f202ab4532 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sat, 13 Apr 2019 16:36:43 +0200 Subject: pentium4 new --- hadoop/PKGBUILD | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hadoop') diff --git a/hadoop/PKGBUILD b/hadoop/PKGBUILD index 6358f4ad..6484aae0 100644 --- a/hadoop/PKGBUILD +++ b/hadoop/PKGBUILD @@ -10,7 +10,7 @@ pkgname='hadoop' pkgver=3.2.0 pkgrel=1 pkgdesc='MapReduce implementation and distributed filesystem' -arch=('i686' 'x86_64') +arch=('i686' 'pentium4' 'x86_64') url='http://hadoop.apache.org' license=('apache') depends=('java-environment>=7' 'openssh' 'apache-ant' 'polkit') @@ -96,7 +96,7 @@ EOF if ! :; then ## fix native - if [ "${CARCH}" = 'i686' ]; then + if [ "${CARCH}" = 'i686' ] || [ "${CARCH}" = 'pentium4' ]; then rm -rf 'lib/native/Linux-amd64-64' cd 'lib/native/Linux-i386-32' sed -i -e "s:dependency_libs=':dependency_libs='-L/opt/java/jre/lib/i386/server :" 'libhadoop.la' -- cgit v1.2.3-54-g00ecf