summaryrefslogtreecommitdiff
path: root/community/erlang/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/erlang/PKGBUILD')
-rw-r--r--community/erlang/PKGBUILD8
1 files changed, 5 insertions, 3 deletions
diff --git a/community/erlang/PKGBUILD b/community/erlang/PKGBUILD
index 4a65ac3bb..30e949636 100644
--- a/community/erlang/PKGBUILD
+++ b/community/erlang/PKGBUILD
@@ -10,13 +10,15 @@ pkgname=erlang
pkgver=R15B03
pkgrel=1
pkgdesc='General-purpose concurrent functional programming language developed by Ericsson'
-arch=('x86_64' 'i686')
+arch=(i686 x86_64 mips64el)
url='http://www.erlang.org'
license=('custom')
depends=('ncurses' 'glu' 'wxgtk' 'openssl')
makedepends=('perl' 'mesa')
-optdepends=('unixodbc: for database support'
- 'java-environment: for Java support')
+optdepends=('unixodbc: for database support')
+if [ "$CARCH" != "mips64el" ]; then
+ optdepends+=('java-environment: for Java support')
+fi
source=("http://www.erlang.org/download/otp_src_$pkgver.tar.gz"
"http://www.erlang.org/download/otp_doc_man_$pkgver.tar.gz")
sha256sums=('d1ee5dd3833537ad7533f2deaf164936508c55c992c2b930f0c4c4559d40aa12'