diff options
author | Caleb Tennis <caleb@gentoo.org> | 2007-08-27 11:26:53 +0000 |
---|---|---|
committer | Caleb Tennis <caleb@gentoo.org> | 2007-08-27 11:26:53 +0000 |
commit | 32d807c7ed4299af73068aad1153fba227ba26e9 (patch) | |
tree | 87a8d1989b0a1bdf90710e0024ca3657fcdcbe44 | |
parent | Apply oracle/ldap fix for bug #180391 (diff) | |
download | gentoo-2-32d807c7ed4299af73068aad1153fba227ba26e9.tar.gz gentoo-2-32d807c7ed4299af73068aad1153fba227ba26e9.tar.bz2 gentoo-2-32d807c7ed4299af73068aad1153fba227ba26e9.zip |
A patch to fix proxy passing via argument
(Portage version: 2.1.3.7)
-rw-r--r-- | dev-ruby/IceRuby/ChangeLog | 8 | ||||
-rw-r--r-- | dev-ruby/IceRuby/IceRuby-3.2.1-r1.ebuild | 62 | ||||
-rw-r--r-- | dev-ruby/IceRuby/files/IceRuby-3.2.1-ice_type.patch | 13 | ||||
-rw-r--r-- | dev-ruby/IceRuby/files/digest-IceRuby-3.2.1-r1 | 3 |
4 files changed, 85 insertions, 1 deletions
diff --git a/dev-ruby/IceRuby/ChangeLog b/dev-ruby/IceRuby/ChangeLog index f7ceadc37ca8..9a80a7fd0169 100644 --- a/dev-ruby/IceRuby/ChangeLog +++ b/dev-ruby/IceRuby/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-ruby/IceRuby # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/IceRuby/ChangeLog,v 1.7 2007/08/15 15:45:54 caleb Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/IceRuby/ChangeLog,v 1.8 2007/08/27 11:26:53 caleb Exp $ + +*IceRuby-3.2.1-r1 (27 Aug 2007) + + 27 Aug 2007; Caleb Tennis <caleb@gentoo.org> + +files/IceRuby-3.2.1-ice_type.patch, +IceRuby-3.2.1-r1.ebuild: + A patch to fix proxy passing via argument *IceRuby-3.2.1 (15 Aug 2007) diff --git a/dev-ruby/IceRuby/IceRuby-3.2.1-r1.ebuild b/dev-ruby/IceRuby/IceRuby-3.2.1-r1.ebuild new file mode 100644 index 000000000000..2f46843eae51 --- /dev/null +++ b/dev-ruby/IceRuby/IceRuby-3.2.1-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/IceRuby/IceRuby-3.2.1-r1.ebuild,v 1.1 2007/08/27 11:26:53 caleb Exp $ + +inherit eutils + +DESCRIPTION="ICE middleware C++ bindings" +HOMEPAGE="http://www.zeroc.com/index.html" +SRC_URI="http://www.zeroc.com/download/Ice/3.2/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86" +IUSE="test debug" + +RDEPEND="~dev-cpp/Ice-3.2.1 + >=dev-lang/ruby-1.8.4" + +DEPEND="${RDEPEND} + test? ( >=dev-lang/python-2.4 )" + +src_unpack() { +# export ICE_HOME=/usr + unpack ${A} + cd "${S}" + + epatch ${FILESDIR}/${P}-Makefile.patch + epatch ${FILESDIR}/${P}-ice_type.patch + + mkdir -p ${S}/bin + mkdir -p ${S}/lib + + if use amd64; then + sed -i -e "s:^#LP64:LP64:g" ${S}/config/Make.rules \ + || die "Failed to set lib64 directory" + fi + + if ! use debug; then + sed -i -e "s:#OPTIMIZE:OPTIMIZE:" \ + ${S}/config/Make.rules || die "Failed to remove debug" + fi + + sed -i -e \ + "s:.*CXXFLAGS[^\+]*\=\s:CXXFLAGS = ${CXXFLAGS} :g" \ + ${S}/config/Make.rules.Linux || die "CXXFLAGS patching failed!" +} + +src_compile() { + cd ${S} +# export ICE_HOME=/usr + make || die "Died during make" +} + +src_install() { +# export ICE_HOME=/usr + make DESTDIR="${D}" install || die "Install Failed!" +} + +src_test() { +# export ICE_HOME=/usr + make test || die "Test failed" +} diff --git a/dev-ruby/IceRuby/files/IceRuby-3.2.1-ice_type.patch b/dev-ruby/IceRuby/files/IceRuby-3.2.1-ice_type.patch new file mode 100644 index 000000000000..06d34ff03e57 --- /dev/null +++ b/dev-ruby/IceRuby/files/IceRuby-3.2.1-ice_type.patch @@ -0,0 +1,13 @@ +--- ruby/Ice.rb.orig 2007-08-27 07:23:03.000000000 -0400 ++++ ruby/Ice.rb 2007-08-27 07:23:33.000000000 -0400 +@@ -43,7 +43,10 @@ + end + + T_Object.defineClass(nil, true, nil, [], []) ++ Object_mixin::ICE_TYPE = T_Object ++ + T_ObjectPrx.defineProxy(ObjectPrx, T_Object) ++ ObjectPrx::ICE_TYPE = T_ObjectPrx + + # + # LocalObject. diff --git a/dev-ruby/IceRuby/files/digest-IceRuby-3.2.1-r1 b/dev-ruby/IceRuby/files/digest-IceRuby-3.2.1-r1 new file mode 100644 index 000000000000..81a0e82c619d --- /dev/null +++ b/dev-ruby/IceRuby/files/digest-IceRuby-3.2.1-r1 @@ -0,0 +1,3 @@ +MD5 17c61065ab67c232283d8710302379d3 IceRuby-3.2.1.tar.gz 98496 +RMD160 7c852a275fe5d37bee2654889ed268022e7f1cd7 IceRuby-3.2.1.tar.gz 98496 +SHA256 319ccbf5945a9f213695c67a4bdead8605c25c0c6de926e272c4a21619ae30bf IceRuby-3.2.1.tar.gz 98496 |