Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 106208 | Differences between
and this patch

Collapse All | Expand All

(-)erlang-10.2.6.ebuild (-8 / +11 lines)
Lines 1-23 Link Here
1
# Copyright 1999-2005 Gentoo Foundation
1
# Copyright 1999-2005 Gentoo Foundation
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/erlang-10.2.6.ebuild,v 1.5 2005/09/02 22:31:50 vapier Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/erlang-10.2.6.ebuild,v 1.4 2005/08/24 00:43:36 vapier Exp $
4
4
5
inherit eutils multilib flag-o-matic elisp-common
5
inherit eutils multilib flag-o-matic elisp-common
6
6
7
#erlang uses a really weird versioning scheme which caused quite a few problems already
7
#erlang uses a really weird versioning scheme which caused quite a few problems already
8
#Thus we do a slight modification converting all letters to digits to make it more sane (see e.g. #26420)
8
#Thus we do a slight modification converting all letters to digits to make it more sane (see e.g. #26420)
9
#the next line selects the right source.
9
#the next line selects the right source.
10
MY_PV=R10B-6
10
MY_PV=R10B-7
11
MY_P=otp_src_${MY_PV}
11
MY_P=otp_src_${MY_PV}
12
DESCRIPTION="Erlang programming language, runtime environment, and large collection of libraries"
12
DESCRIPTION="Erlang programming language, runtime environment, and large collection of libraries"
13
HOMEPAGE="http://www.erlang.org/"
13
HOMEPAGE="http://www.erlang.org/"
14
SRC_URI="http://www.erlang.org/download/${MY_P}.tar.gz
14
SRC_URI="http://www.erlang.org/download/${MY_P}.tar.gz
15
	doc? ( http://erlang.org/download/otp_doc_man_${MY_PV}.tar.gz
15
	doc? ( http://erlang.org/download/otp_doc_man_${MY_PV}.tar.gz
16
		http://erlang.org/download/otp_doc_html_${MY_PV}.tar.gz )"
16
		http://erlang.org/download/otp_doc_html_${MY_PV}.tar.gz )
17
	http://developer.sipphone.com/ejabberd/erlang_epoll_patch/otp_src_${MY_PV}_epoll.patch"
17
18
18
LICENSE="EPL"
19
LICENSE="EPL"
19
SLOT="0"
20
SLOT="0"
20
KEYWORDS="~amd64 ~ppc ~sparc x86"
21
KEYWORDS="~amd64 ~ppc ~sparc ~x86"
21
IUSE="doc emacs java odbc ssl X"
22
IUSE="doc emacs java odbc ssl X"
22
23
23
RDEPEND=">=dev-lang/perl-5.6.1
24
RDEPEND=">=dev-lang/perl-5.6.1
Lines 27-33 Link Here
27
	java? ( >=virtual/jdk-1.2 )
28
	java? ( >=virtual/jdk-1.2 )
28
	odbc? ( dev-db/unixODBC )"
29
	odbc? ( dev-db/unixODBC )"
29
DEPEND="${RDEPEND}
30
DEPEND="${RDEPEND}
30
	dev-lang/tk"
31
	X? (dev-lang/tk)"
31
32
32
S=${WORKDIR}/${MY_P}
33
S=${WORKDIR}/${MY_P}
33
34
Lines 35-50 Link Here
35
36
36
src_unpack() {
37
src_unpack() {
37
	unpack ${A}
38
	unpack ${A}
38
	cd "${S}"
39
	cd $S
39
	epatch "${FILESDIR}"/${P}-export-TARGET.patch
40
	epatch ${FILESDIR}/${P}-export-TARGET.patch
40
	epatch "${FILESDIR}"/${PV}-manpage-emacs-gentoo.patch
41
	epatch ${FILESDIR}/${PV}-manpage-emacs-gentoo.patch
41
	use odbc || sed -i 's: odbc : :' lib/Makefile
42
	use odbc || sed -i 's: odbc : :' lib/Makefile
43
	epatch ${DISTDIR}/otp_src_${MY_PV}_epoll.patch
42
}
44
}
43
45
44
src_compile() {
46
src_compile() {
45
	use java || export JAVAC=false
47
	use java || export JAVAC=false
46
	econf \
48
	econf \
47
		--enable-threads \
49
		--enable-threads \
50
		--enable-kernel-poll \
48
		$(use_with ssl) \
51
		$(use_with ssl) \
49
		|| die
52
		|| die
50
	make || die
53
	make || die

Return to bug 106208