diff options
author | Pacho Ramos <pacho@gentoo.org> | 2012-02-16 12:15:32 +0000 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2012-02-16 12:15:32 +0000 |
commit | bf57a811f05fb32e08d39d0ba5b19ab70ba3ae1a (patch) | |
tree | ceb0cdb37e1bb10aec5d7554651daccb1d55dff3 /dev-util/mono-tools | |
parent | Fix compilation against latest glib, bug #389919 by Alain Toussaint, Rolf S. ... (diff) | |
download | gentoo-2-bf57a811f05fb32e08d39d0ba5b19ab70ba3ae1a.tar.gz gentoo-2-bf57a811f05fb32e08d39d0ba5b19ab70ba3ae1a.tar.bz2 gentoo-2-bf57a811f05fb32e08d39d0ba5b19ab70ba3ae1a.zip |
Fix build with new automake, bug #398971 by Juergen Rose and Rolf S. Arvidson. Default to webkit instead of xulrunner as latest one is deprecated.
(Portage version: 2.1.10.46/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/mono-tools')
-rw-r--r-- | dev-util/mono-tools/ChangeLog | 9 | ||||
-rw-r--r-- | dev-util/mono-tools/files/mono-tools-2.10-autoconf.patch | 78 | ||||
-rw-r--r-- | dev-util/mono-tools/mono-tools-2.10.ebuild | 16 |
3 files changed, 93 insertions, 10 deletions
diff --git a/dev-util/mono-tools/ChangeLog b/dev-util/mono-tools/ChangeLog index fea3ecf2013a..05626666b819 100644 --- a/dev-util/mono-tools/ChangeLog +++ b/dev-util/mono-tools/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-util/mono-tools -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/mono-tools/ChangeLog,v 1.84 2011/07/08 10:02:58 pacho Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/mono-tools/ChangeLog,v 1.85 2012/02/16 12:15:32 pacho Exp $ + + 16 Feb 2012; Pacho Ramos <pacho@gentoo.org> + +files/mono-tools-2.10-autoconf.patch, mono-tools-2.10.ebuild: + Fix build with new automake, bug #398971 by Juergen Rose and Rolf S. Arvidson. + Default to webkit instead of xulrunner as latest one is deprecated. 08 Jul 2011; Pacho Ramos <pacho@gentoo.org> -files/mono-tools-2.4-html-renderer-fixes.patch, -mono-tools-2.8.ebuild: diff --git a/dev-util/mono-tools/files/mono-tools-2.10-autoconf.patch b/dev-util/mono-tools/files/mono-tools-2.10-autoconf.patch new file mode 100644 index 000000000000..4e2c167f35c9 --- /dev/null +++ b/dev-util/mono-tools/files/mono-tools-2.10-autoconf.patch @@ -0,0 +1,78 @@ +diff -urN 1/Mono.Profiler/Mono.Profiler.Widgets/Makefile.am 2/Mono.Profiler/Mono.Profiler.Widgets/Makefile.am +--- 1/Mono.Profiler/Mono.Profiler.Widgets/Makefile.am 2011-02-12 10:32:47.000000000 -0600 ++++ 2/Mono.Profiler/Mono.Profiler.Widgets/Makefile.am 2012-02-14 23:45:06.048330154 -0600 +@@ -9,7 +9,8 @@ + ASSEMBLY_MDB = + endif + +-pkglib_DATA = $(ASSEMBLY) $(ASSEMBLY_MDB) ++programfilesdir = $(pkglibdir) ++programfiles_DATA = $(ASSEMBLY) $(ASSEMBLY_MDB) + + CLEANFILES = $(ASSEMBLY) $(ASSEMBLY_MDB) + +diff -urN 1/Mono.Profiler/heap-snapshot-explorer/Makefile.am 2/Mono.Profiler/heap-snapshot-explorer/Makefile.am +--- 1/Mono.Profiler/heap-snapshot-explorer/Makefile.am 2011-02-12 10:32:47.000000000 -0600 ++++ 2/Mono.Profiler/heap-snapshot-explorer/Makefile.am 2012-02-14 23:46:21.117195189 -0600 +@@ -9,7 +9,8 @@ + ASSEMBLY_MDB = + endif + +-pkglib_DATA = $(ASSEMBLY) $(ASSEMBLY_MDB) ++programfilesdir = $(pkglibdir) ++programfiles_DATA = $(ASSEMBLY) $(ASSEMBLY_MDB) + + CLEANFILES = $(ASSEMBLY) $(ASSEMBLY_MDB) + +diff -urN 1/Mono.Profiler/heap-snapshot-viewer/Makefile.am 2/Mono.Profiler/heap-snapshot-viewer/Makefile.am +--- 1/Mono.Profiler/heap-snapshot-viewer/Makefile.am 2011-02-12 10:32:47.000000000 -0600 ++++ 2/Mono.Profiler/heap-snapshot-viewer/Makefile.am 2012-02-14 23:47:14.819383799 -0600 +@@ -8,7 +8,8 @@ + ASSEMBLY_MDB = + endif + +-pkglib_DATA = $(ASSEMBLY) $(ASSEMBLY_MDB) ++programfilesdir = $(pkglibdir) ++programfiles_DATA = $(ASSEMBLY) $(ASSEMBLY_MDB) + bin_SCRIPTS = mprof-heap-viewer + man_MANS=man/man1/mprof-heap-viewer.1 + +diff -urN 1/Mono.Profiler/mprof-gui/Makefile.am 2/Mono.Profiler/mprof-gui/Makefile.am +--- 1/Mono.Profiler/mprof-gui/Makefile.am 2011-02-12 10:32:47.000000000 -0600 ++++ 2/Mono.Profiler/mprof-gui/Makefile.am 2012-02-14 23:48:03.341651249 -0600 +@@ -8,7 +8,8 @@ + ASSEMBLY_MDB = + endif + +-pkglib_DATA = $(ASSEMBLY) $(ASSEMBLY_MDB) ++programfilesdir = $(pkglibdir) ++programfiles_DATA = $(ASSEMBLY) $(ASSEMBLY_MDB) + bin_SCRIPTS = emveepee + + CLEANFILES = $(ASSEMBLY) $(ASSEMBLY_MDB) +diff -urN 1/Mono.Profiler/profiler-decoder-library/Makefile.am 2/Mono.Profiler/profiler-decoder-library/Makefile.am +--- 1/Mono.Profiler/profiler-decoder-library/Makefile.am 2011-02-12 10:32:47.000000000 -0600 ++++ 2/Mono.Profiler/profiler-decoder-library/Makefile.am 2012-02-14 23:48:48.164974430 -0600 +@@ -9,7 +9,8 @@ + ASSEMBLY_MDB = + endif + +-pkglib_DATA = $(ASSEMBLY) $(ASSEMBLY_MDB) ++programfilesdir = $(pkglibdir) ++programfiles_DATA = $(ASSEMBLY) $(ASSEMBLY_MDB) + + CLEANFILES = $(ASSEMBLY) $(ASSEMBLY_MDB) + +diff -urN 1/Mono.Profiler/profiler-file-decoder/Makefile.am 2/Mono.Profiler/profiler-file-decoder/Makefile.am +--- 1/Mono.Profiler/profiler-file-decoder/Makefile.am 2011-02-12 10:32:47.000000000 -0600 ++++ 2/Mono.Profiler/profiler-file-decoder/Makefile.am 2012-02-14 23:49:37.892224361 -0600 +@@ -9,7 +9,8 @@ + ASSEMBLY_MDB = + endif + +-pkglib_DATA = $(ASSEMBLY) $(ASSEMBLY_MDB) ++programfilesdir = $(pkglibdir) ++programfiles_DATA = $(ASSEMBLY) $(ASSEMBLY_MDB) + bin_SCRIPTS = mprof-decoder + man_MANS = man/man1/mprof-decoder.1 + diff --git a/dev-util/mono-tools/mono-tools-2.10.ebuild b/dev-util/mono-tools/mono-tools-2.10.ebuild index 092926bb4adb..2dbbd331b9c5 100644 --- a/dev-util/mono-tools/mono-tools-2.10.ebuild +++ b/dev-util/mono-tools/mono-tools-2.10.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/mono-tools/mono-tools-2.10.ebuild,v 1.4 2011/05/11 19:30:27 angelos Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/mono-tools/mono-tools-2.10.ebuild,v 1.5 2012/02/16 12:15:32 pacho Exp $ -EAPI=2 +EAPI="4" inherit go-mono mono autotools @@ -12,7 +12,7 @@ HOMEPAGE="http://www.mono-project.com/" LICENSE="GPL-2 MIT" SLOT="0" KEYWORDS="amd64 ppc x86" -IUSE="webkit gtkhtml +xulrunner" +IUSE="+webkit gtkhtml xulrunner" RDEPEND="=virtual/monodoc-${GO_MONO_REL_PV}* >=dev-dotnet/gtk-sharp-2.12.6:2 @@ -26,7 +26,8 @@ DEPEND="${RDEPEND} sys-devel/gettext >=dev-util/pkgconfig-0.19" -PATCHES=( "${FILESDIR}/${PN}-2.8-html-renderer-fixes.patch" ) +PATCHES=( "${FILESDIR}/${PN}-2.8-html-renderer-fixes.patch" + "${FILESDIR}/${PN}-2.10-autoconf.patch" ) #Fails parallel make. MAKEOPTS="${MAKEOPTS} -j1" @@ -42,7 +43,7 @@ src_prepare() { go-mono_src_prepare # Stop getting ACLOCAL_FLAGS command not found problem like bug #298813 - sed -i -e '/ACLOCAL_FLAGS/d' Makefile.am + sed -i -e '/ACLOCAL_FLAGS/d' Makefile.am || die eautoreconf } @@ -52,6 +53,5 @@ src_configure() { --disable-gecko \ $(use_enable gtkhtml) \ $(use_enable webkit) \ - $(use_enable xulrunner monowebbrowser) \ - || die "configure failed" + $(use_enable xulrunner monowebbrowser) } |