summaryrefslogtreecommitdiff
path: root/community/erlang/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/erlang/PKGBUILD')
-rw-r--r--community/erlang/PKGBUILD10
1 files changed, 8 insertions, 2 deletions
diff --git a/community/erlang/PKGBUILD b/community/erlang/PKGBUILD
index 933865d51..033314c34 100644
--- a/community/erlang/PKGBUILD
+++ b/community/erlang/PKGBUILD
@@ -8,7 +8,7 @@ pkgname=erlang
pkgver=R15B01
pkgrel=1
pkgdesc='A small concurrent functional programming language developed by Ericsson.'
-arch=(i686 x86_64)
+arch=(i686 x86_64 mips64el)
url='http://www.erlang.org/index.html'
license=('custom')
depends=('ncurses' 'glibc')
@@ -17,7 +17,13 @@ optdepends=('wxgtk: for wx support'
'mesa: for wx support'
'unixodbc: database'
'java-environment: for Java support')
-options=('!makeflags')
+if [ "$CARCH" = "mips64el" ]; then
+makedepends=('perl' 'openssl' 'wxgtk' 'unixodbc>=2.3.1' 'mesa')
+optdepends=('wxgtk: for wx support'
+ 'mesa: for wx support'
+ 'unixodbc: database')
+fi
+options=('!makeflags' '!distcc')
source=("http://www.erlang.org/download/otp_src_${pkgver/./-}.tar.gz"
"http://www.erlang.org/download/otp_doc_man_${pkgver/./-}.tar.gz")
md5sums=('f12d00f6e62b36ad027d6c0c08905fad'