|
|
#erlang uses a really weird versioning scheme which caused quite a few problems already | #erlang uses a really weird versioning scheme which caused quite a few problems already |
#Thus we do a slight modification converting all letters to digits to make it more sane (see e.g. #26420) | #Thus we do a slight modification converting all letters to digits to make it more sane (see e.g. #26420) |
#the next line selects the right source. | #the next line selects the right source. |
MY_PV=R10B-6 |
MY_PV=R10B-7 |
MY_P=otp_src_${MY_PV} | MY_P=otp_src_${MY_PV} |
DESCRIPTION="Erlang programming language, runtime environment, and large collection of libraries" | DESCRIPTION="Erlang programming language, runtime environment, and large collection of libraries" |
HOMEPAGE="http://www.erlang.org/" | HOMEPAGE="http://www.erlang.org/" |
SRC_URI="http://www.erlang.org/download/${MY_P}.tar.gz | SRC_URI="http://www.erlang.org/download/${MY_P}.tar.gz |
doc? ( http://erlang.org/download/otp_doc_man_${MY_PV}.tar.gz | doc? ( http://erlang.org/download/otp_doc_man_${MY_PV}.tar.gz |
http://erlang.org/download/otp_doc_html_${MY_PV}.tar.gz )" |
http://erlang.org/download/otp_doc_html_${MY_PV}.tar.gz ) |
|
epoll? ( http://developer.sipphone.com/ejabberd/erlang_epoll_patch/otp_src_${MY_PV}_epoll.patch )" |
| |
LICENSE="EPL" | LICENSE="EPL" |
SLOT="0" | SLOT="0" |
KEYWORDS="~amd64 ~ppc ~sparc x86" |
KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
IUSE="doc emacs java odbc ssl X" |
IUSE="doc emacs java odbc ssl X epoll" |
| |
RDEPEND=">=dev-lang/perl-5.6.1 | RDEPEND=">=dev-lang/perl-5.6.1 |
X? ( virtual/x11 ) | X? ( virtual/x11 ) |
|
|
java? ( >=virtual/jdk-1.2 ) | java? ( >=virtual/jdk-1.2 ) |
odbc? ( dev-db/unixODBC )" | odbc? ( dev-db/unixODBC )" |
DEPEND="${RDEPEND} | DEPEND="${RDEPEND} |
dev-lang/tk" |
X? ( dev-lang/tk )" |
| |
S=${WORKDIR}/${MY_P} | S=${WORKDIR}/${MY_P} |
| |
|
|
epatch "${FILESDIR}"/${P}-export-TARGET.patch | epatch "${FILESDIR}"/${P}-export-TARGET.patch |
epatch "${FILESDIR}"/${PV}-manpage-emacs-gentoo.patch | epatch "${FILESDIR}"/${PV}-manpage-emacs-gentoo.patch |
use odbc || sed -i 's: odbc : :' lib/Makefile | use odbc || sed -i 's: odbc : :' lib/Makefile |
|
use epoll && epatch "${DISTDIR}"/otp_src_${MY_PV}_epoll.patch |
} | } |
| |
src_compile() { | src_compile() { |