diff options
author | George Shapovalov <george@gentoo.org> | 2003-07-02 02:54:04 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2003-07-02 02:54:04 +0000 |
commit | 9122d24aaaa3c3e56a16a70fca2d13e1f9b0e58d (patch) | |
tree | 50e9c868a4607f315a2a1da3689914fcd0831802 /dev-lang | |
parent | ppc (diff) | |
download | gentoo-2-9122d24aaaa3c3e56a16a70fca2d13e1f9b0e58d.tar.gz gentoo-2-9122d24aaaa3c3e56a16a70fca2d13e1f9b0e58d.tar.bz2 gentoo-2-9122d24aaaa3c3e56a16a70fca2d13e1f9b0e58d.zip |
update to make erlang read nsswitch.conf in addition to host.conf
Diffstat (limited to 'dev-lang')
-rw-r--r-- | dev-lang/erlang/ChangeLog | 9 | ||||
-rw-r--r-- | dev-lang/erlang/Manifest | 9 | ||||
-rw-r--r-- | dev-lang/erlang/erlang-9c-r1.ebuild | 59 | ||||
-rw-r--r-- | dev-lang/erlang/files/digest-erlang-9c-r1 | 1 | ||||
-rw-r--r-- | dev-lang/erlang/files/erlang-9c-nsswitch-2.patch.gz | bin | 0 -> 572 bytes |
5 files changed, 74 insertions, 4 deletions
diff --git a/dev-lang/erlang/ChangeLog b/dev-lang/erlang/ChangeLog index cc38d00ad2c2..f0b684279c4a 100644 --- a/dev-lang/erlang/ChangeLog +++ b/dev-lang/erlang/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-lang/erlang # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/ChangeLog,v 1.7 2003/06/19 20:05:22 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/ChangeLog,v 1.8 2003/07/02 02:53:52 george Exp $ + +*erlang-9c-r1 (01 Jul 2003) + + 01 Jul 2003; George Shapovalov <george@gentoo.org> erlang-9c-r1.ebuild : + incorporated patch to make erlang read nsswitch.conf in + addition to host.conf (#22836) + Thanks to Claes Wikstrom <klacke@hyber.org> for the patch *erlang-9c (09 May 2003) diff --git a/dev-lang/erlang/Manifest b/dev-lang/erlang/Manifest index 82b083b24a1a..5b8d7a966d34 100644 --- a/dev-lang/erlang/Manifest +++ b/dev-lang/erlang/Manifest @@ -1,5 +1,8 @@ -MD5 0ef311d4fbeb2b5e16aab201dcf37297 files/digest-erlang-8b 67 -MD5 9a235de49a6c0988f033448fdac8a0a8 files/digest-erlang-9c 66 +MD5 7aee981fb07b0544e66683390601bdd2 erlang-9c-r1.ebuild 1666 MD5 7e6830aa295247eccf8e9532487a1ba4 erlang-8b.ebuild 1165 -MD5 ba1f9bc0633327611fca676739ee688f ChangeLog 1272 MD5 6823280bd290a2e4ae25b1cc260fef09 erlang-9c.ebuild 1493 +MD5 e31e51f87c22ed5025111d6fcf6a16d9 ChangeLog 1529 +MD5 0ef311d4fbeb2b5e16aab201dcf37297 files/digest-erlang-8b 67 +MD5 9a235de49a6c0988f033448fdac8a0a8 files/digest-erlang-9c 66 +MD5 9a235de49a6c0988f033448fdac8a0a8 files/digest-erlang-9c-r1 66 +MD5 ca6bf9ab4b3249ccd298488ca4ff2f51 files/erlang-9c-nsswitch-2.patch.gz 572 diff --git a/dev-lang/erlang/erlang-9c-r1.ebuild b/dev-lang/erlang/erlang-9c-r1.ebuild new file mode 100644 index 000000000000..8c9b1e9caae9 --- /dev/null +++ b/dev-lang/erlang/erlang-9c-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lang/erlang/erlang-9c-r1.ebuild,v 1.1 2003/07/02 02:53:52 george Exp $ + +MY_P=otp_src_R9B-1 +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" + +LICENSE="EPL" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc" +IUSE="X ssl" + +src_unpack(){ + unpack ${A} + cd ${S} + #a conviniece fix, ||die is not necessary + gzcat ${FILESDIR}/${P}-nsswitch-2.patch.gz | patch -p0 lib/kernel/src/inet_config.erl +} + +DEPEND=">=dev-lang/perl-5.6.1 + X? ( >=x11-base/xfree-4.2.0-r12 ) + ssl? ( >=dev-libs/openssl-0.9.6d )" + +S=${WORKDIR}/${MY_P} + +src_compile() { + econf --enable-threads || die "./configure failed" + make || die +} + +src_install() { + ERL_LIBDIR="/usr/lib/erlang" + + make INSTALL_PREFIX=${D} install || die + dodoc AUTHORS EPLICENCE README + + dosym ${ERL_LIBDIR}/bin/erl /usr/bin/erl + dosym ${ERL_LIBDIR}/bin/erlc /usr/bin/erlc + dosym ${ERL_LIBDIR}/bin/ecc /usr/bin/ecc + dosym ${ERL_LIBDIR}/bin/elink /usr/bin/elink + dosym ${ERL_LIBDIR}/bin/ear /usr/bin/ear + dosym ${ERL_LIBDIR}/bin/escript /usr/bin/escript + + ## Remove ${D} from the following files + dosed ${ERL_LIBDIR}/bin/erl + dosed ${ERL_LIBDIR}/bin/start + dosed ${ERL_LIBDIR}/bin/ecc + dosed ${ERL_LIBDIR}/bin/ear + dosed ${ERL_LIBDIR}/bin/elink + dosed ${ERL_LIBDIR}/bin/escript + dosed ${ERL_LIBDIR}/bin/esh + dosed ${ERL_LIBDIR}/erts-*/bin/erl + dosed ${ERL_LIBDIR}/erts-*/bin/start + + ## Clean up the no longer needed files + rm ${D}/${ERL_LIBDIR}/Install +} diff --git a/dev-lang/erlang/files/digest-erlang-9c-r1 b/dev-lang/erlang/files/digest-erlang-9c-r1 new file mode 100644 index 000000000000..0264ea803a5c --- /dev/null +++ b/dev-lang/erlang/files/digest-erlang-9c-r1 @@ -0,0 +1 @@ +MD5 37ac7d5e4e9fa7730775e590f4796bbf otp_src_R9B-1.tar.gz 8455643 diff --git a/dev-lang/erlang/files/erlang-9c-nsswitch-2.patch.gz b/dev-lang/erlang/files/erlang-9c-nsswitch-2.patch.gz Binary files differnew file mode 100644 index 000000000000..7b46fb0a54c0 --- /dev/null +++ b/dev-lang/erlang/files/erlang-9c-nsswitch-2.patch.gz |