--- erlang-10.2.6.ebuild 2005-09-03 01:08:38.000000000 -0500 +++ erlang-10.2.6.ebuild 2005-10-18 15:39:47.000000000 -0500 @@ -1,23 +1,24 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/erlang-10.2.6.ebuild,v 1.5 2005/09/02 22:31:50 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/erlang-10.2.6.ebuild,v 1.4 2005/08/24 00:43:36 vapier Exp $ inherit eutils multilib flag-o-matic elisp-common #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) #the next line selects the right source. -MY_PV=R10B-6 +MY_PV=R10B-7 MY_P=otp_src_${MY_PV} DESCRIPTION="Erlang programming language, runtime environment, and large collection of libraries" HOMEPAGE="http://www.erlang.org/" SRC_URI="http://www.erlang.org/download/${MY_P}.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 ) + http://developer.sipphone.com/ejabberd/erlang_epoll_patch/otp_src_${MY_PV}_epoll.patch" LICENSE="EPL" SLOT="0" -KEYWORDS="~amd64 ~ppc ~sparc x86" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" IUSE="doc emacs java odbc ssl X" RDEPEND=">=dev-lang/perl-5.6.1 @@ -27,7 +28,7 @@ java? ( >=virtual/jdk-1.2 ) odbc? ( dev-db/unixODBC )" DEPEND="${RDEPEND} - dev-lang/tk" + X? (dev-lang/tk)" S=${WORKDIR}/${MY_P} @@ -35,16 +36,18 @@ src_unpack() { unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-export-TARGET.patch - epatch "${FILESDIR}"/${PV}-manpage-emacs-gentoo.patch + cd $S + epatch ${FILESDIR}/${P}-export-TARGET.patch + epatch ${FILESDIR}/${PV}-manpage-emacs-gentoo.patch use odbc || sed -i 's: odbc : :' lib/Makefile + epatch ${DISTDIR}/otp_src_${MY_PV}_epoll.patch } src_compile() { use java || export JAVAC=false econf \ --enable-threads \ + --enable-kernel-poll \ $(use_with ssl) \ || die make || die