diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-08-12 02:03:39 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-08-12 02:03:39 +0000 |
commit | 7503bb173cf46bdeb682552a622173fddc5f8220 (patch) | |
tree | cd32c7b48f9b4eff0ee91718b18ee8470c34d971 /dev-libs/redland-bindings | |
parent | Somehow the ChangeLog was lost. Resurrected. (diff) | |
download | gentoo-2-7503bb173cf46bdeb682552a622173fddc5f8220.tar.gz gentoo-2-7503bb173cf46bdeb682552a622173fddc5f8220.tar.bz2 gentoo-2-7503bb173cf46bdeb682552a622173fddc5f8220.zip |
Add support for mono by Ugo Riboni #101761.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'dev-libs/redland-bindings')
4 files changed, 41 insertions, 6 deletions
diff --git a/dev-libs/redland-bindings/ChangeLog b/dev-libs/redland-bindings/ChangeLog index 04b89010e303..ea82b7d77d63 100644 --- a/dev-libs/redland-bindings/ChangeLog +++ b/dev-libs/redland-bindings/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/redland-bindings -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/redland-bindings/ChangeLog,v 1.3 2005/03/09 00:08:41 vapier Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/redland-bindings/ChangeLog,v 1.4 2005/08/12 02:03:39 vapier Exp $ + + 12 Aug 2005; Mike Frysinger <vapier@gentoo.org> + +files/redland-bindings-1.0.0.2-DESTDIR.patch, + +files/redland-bindings-1.0.0.2-configure.patch, + redland-bindings-1.0.0.2.ebuild: + Add support for mono by Ugo Riboni #101761. *redland-bindings-1.0.0.2 (08 Mar 2005) diff --git a/dev-libs/redland-bindings/files/redland-bindings-1.0.0.2-DESTDIR.patch b/dev-libs/redland-bindings/files/redland-bindings-1.0.0.2-DESTDIR.patch new file mode 100644 index 000000000000..3e3063e2afd5 --- /dev/null +++ b/dev-libs/redland-bindings/files/redland-bindings-1.0.0.2-DESTDIR.patch @@ -0,0 +1,12 @@ +--- csharp/Makefile.in 2005-08-12 00:23:32.000000000 +0000 ++++ csharp/Makefile.in 2005-08-12 00:23:05.000000000 +0000 +@@ -613,7 +613,8 @@ + $(CSHARP_LINK) test.cs -target:exe -r:Redland.dll -out:$@ + + install-csharp: build-csharp-stamp +- $(INSTALL_PROGRAM) $(CSHARP_DLL) @libdir@ ++ mkdir -p $(DESTDIR)@libdir@ ++ $(INSTALL_PROGRAM) $(CSHARP_DLL) $(DESTDIR)@libdir@ + + clean-local: + rm -f build-csharp-stamp $(CSHARP_DLL) diff --git a/dev-libs/redland-bindings/files/redland-bindings-1.0.0.2-configure.patch b/dev-libs/redland-bindings/files/redland-bindings-1.0.0.2-configure.patch new file mode 100644 index 000000000000..5ed9440ebf3b --- /dev/null +++ b/dev-libs/redland-bindings/files/redland-bindings-1.0.0.2-configure.patch @@ -0,0 +1,13 @@ +--- configure 2005-08-11 22:50:11.000000000 +0000 ++++ configure 2005-08-11 22:53:33.000000000 +0000 +@@ -20465,8 +20465,8 @@ + + + +-if test "$with_ecma_cli" != no; then +- languages="$languages C#($ecma_cli)" ++if test "$ecma_cli_name" != no; then ++ languages="$languages csharp" + fi + + diff --git a/dev-libs/redland-bindings/redland-bindings-1.0.0.2.ebuild b/dev-libs/redland-bindings/redland-bindings-1.0.0.2.ebuild index a6c2b31a6b61..f1db4468ff15 100644 --- a/dev-libs/redland-bindings/redland-bindings-1.0.0.2.ebuild +++ b/dev-libs/redland-bindings/redland-bindings-1.0.0.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/redland-bindings/redland-bindings-1.0.0.2.ebuild,v 1.1 2005/03/09 00:08:41 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/redland-bindings/redland-bindings-1.0.0.2.ebuild,v 1.2 2005/08/12 02:03:39 vapier Exp $ inherit eutils @@ -11,7 +11,7 @@ SRC_URI="http://www.redland.opensource.ac.uk/dist/source/${P}.tar.gz" LICENSE="LGPL-2 MPL-1.1" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -IUSE="perl python java tcltk php ruby" +IUSE="perl python java tcltk php ruby mono" DEPEND=">=dev-libs/redland-1.0.0 dev-lang/swig @@ -20,12 +20,15 @@ DEPEND=">=dev-libs/redland-1.0.0 java? ( virtual/jdk ) tcltk? ( dev-lang/tcl ) php? ( dev-php/php ) - ruby? ( dev-lang/ruby )" + ruby? ( dev-lang/ruby ) + mono? ( dev-lang/mono )" src_unpack() { unpack ${A} - cd ${S} + cd "${S}" sed -i 's:$(INSTALL_PROGRAM) $(TCL_PACKAGE):$(INSTALL_PROGRAM) -D $(TCL_PACKAGE):' tcl/Makefile.in + epatch "${FILESDIR}"/${P}-configure.patch + epatch "${FILESDIR}"/${P}-DESTDIR.patch } src_compile() { @@ -37,6 +40,7 @@ src_compile() { $(use_with tcltk tcl) \ $(use_with php) \ $(use_with ruby) \ + $(use_with mono ecma-cli mono) \ || die emake || die } |