summaryrefslogtreecommitdiff
path: root/hadoop
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-04-13 16:36:43 +0200
committerErich Eckner <git@eckner.net>2019-04-13 16:36:43 +0200
commit37865cb75b1e3dbaa123b1b1a807d8f202ab4532 (patch)
treeaa4370121779c0169ce1f17bf80818e61e94e964 /hadoop
parent6d3a9f2d36bf306b0c3c723d12275699f653a710 (diff)
downloadarchlinuxewe-37865cb75b1e3dbaa123b1b1a807d8f202ab4532.tar.xz
pentium4 new
Diffstat (limited to 'hadoop')
-rw-r--r--hadoop/PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/hadoop/PKGBUILD b/hadoop/PKGBUILD
index 6358f4ad5..6484aae01 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'