commit:     1f5d03e869e69651d60f86939b74edefc24b7d29
Author:     Manuel Friedli <manuel <AT> fritteli <DOT> ch>
AuthorDate: Thu May 20 22:31:03 2021 +0000
Commit:     Gergely Nagy <ngg <AT> ngg <DOT> hu>
CommitDate: Wed May 26 06:37:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/dotnet.git/commit/?id=1f5d03e8

Get rid of autotools-utils.

Signed-off-by: Gergely Nagy <ngg <AT> ngg.hu>
Closes: https://github.com/gentoo/dotnet/pull/499
Closes: https://github.com/gentoo/dotnet/pull/495
Fixes: https://github.com/gentoo/dotnet/issues/494
Fixes: https://github.com/gentoo/dotnet/issues/492

 dev-dotnet/mono-addins/mono-addins-1.0-r1.ebuild |  3 +--
 dev-dotnet/mono-addins/mono-addins-1.3.3.ebuild  |  3 +--
 dev-lang/mono/mono-9999.ebuild                   | 12 ++++++------
 www-servers/xsp/xsp-9999.ebuild                  | 14 ++++----------
 4 files changed, 12 insertions(+), 20 deletions(-)

diff --git a/dev-dotnet/mono-addins/mono-addins-1.0-r1.ebuild 
b/dev-dotnet/mono-addins/mono-addins-1.0-r1.ebuild
index 491782f..75563d3 100644
--- a/dev-dotnet/mono-addins/mono-addins-1.0-r1.ebuild
+++ b/dev-dotnet/mono-addins/mono-addins-1.0-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-inherit eutils dotnet multilib autotools-utils
+inherit eutils dotnet multilib autotools
 
 DESCRIPTION="A generic framework for creating extensible applications"
 HOMEPAGE="https://www.mono-project.com/Mono.Addins";
@@ -26,7 +26,6 @@ src_prepare() {
        epatch "${FILESDIR}/gmcs.patch"
 
        eautoreconf
-       autotools-utils_src_prepare
        ## with dev-dotnet/gtk-sharp-2.99.1
        ## it gives
        ## checking for GTK_SHARP_20... no

diff --git a/dev-dotnet/mono-addins/mono-addins-1.3.3.ebuild 
b/dev-dotnet/mono-addins/mono-addins-1.3.3.ebuild
index 6a9ffcb..54db041 100644
--- a/dev-dotnet/mono-addins/mono-addins-1.3.3.ebuild
+++ b/dev-dotnet/mono-addins/mono-addins-1.3.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-inherit eutils dotnet multilib autotools-utils
+inherit eutils dotnet multilib autotools
 
 DESCRIPTION="A generic framework for creating extensible applications"
 HOMEPAGE="https://www.mono-project.com/Mono.Addins";
@@ -24,7 +24,6 @@ S="${WORKDIR}/${PN}-${P}"
 
 src_prepare() {
        eautoreconf
-       autotools-utils_src_prepare
        ## with dev-dotnet/gtk-sharp-2.99.1
        ## it gives
        ## checking for GTK_SHARP_20... no

diff --git a/dev-lang/mono/mono-9999.ebuild b/dev-lang/mono/mono-9999.ebuild
index 84ad6a4..88b61f6 100644
--- a/dev-lang/mono/mono-9999.ebuild
+++ b/dev-lang/mono/mono-9999.ebuild
@@ -4,12 +4,12 @@
 EAPI="5"
 AUTOTOOLS_PRUNE_LIBTOOL_FILES="all"
 
-inherit linux-info mono-env flag-o-matic pax-utils autotools-utils git-r3
+inherit linux-info mono-env flag-o-matic pax-utils autotools git-r3
 
 DESCRIPTION="Mono runtime and class libraries, a C# compiler/interpreter"
 HOMEPAGE="https://www.mono-project.com/Main_Page";
 
-EGIT_REPO_URI="git://github.com/mono/${PN}.git"
+EGIT_REPO_URI="https://github.com/mono/${PN}.git";
 
 LICENSE="MIT LGPL-2.1 GPL-2 BSD-4 NPL-1.1 Ms-PL GPL-2-with-linking-exception 
IDPL"
 SLOT="0"
@@ -59,8 +59,8 @@ src_prepare() {
 
        # Remove this at your own peril. Mono will barf in unexpected ways.
        append-flags -fno-strict-aliasing
-
-       autotools-utils_src_prepare
+       eautoconf
+       eautomake
 }
 
 src_configure() {
@@ -89,7 +89,7 @@ src_configure() {
                $(use_with doc mcs-docs)
        )
 
-       autotools-utils_src_configure
+       econf ${myeconfargs}
 }
 
 src_make() {
@@ -103,7 +103,7 @@ src_test() {
 }
 
 src_install() {
-       autotools-utils_src_install
+       emake DESTDIR="${D}" install
 
        # Remove files not respecting LDFLAGS and that we are not supposed to 
provide, see Fedora
        # mono.spec and 
https://www.mail-archive.com/mono-devel-list@lists.ximian.com/msg24870.html

diff --git a/www-servers/xsp/xsp-9999.ebuild b/www-servers/xsp/xsp-9999.ebuild
index 030ab44..83c04f2 100644
--- a/www-servers/xsp/xsp-9999.ebuild
+++ b/www-servers/xsp/xsp-9999.ebuild
@@ -1,12 +1,12 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="5"
+EAPI="6"
 
 USE_DOTNET="net35 net40 net45"
 PATCHDIR="${FILESDIR}/2.2/"
 
-inherit eutils dotnet user git-r3 autotools-utils
+inherit eutils dotnet user git-r3 autotools
 
 DESCRIPTION="XSP is a small web server that can host ASP.NET pages"
 HOMEPAGE="https://www.mono-project.com/ASP.NET";
@@ -36,18 +36,11 @@ src_prepare() {
        fi
        eapply_user
        eautoconf
-}
 
-src_configure() {
        myeconfargs=("--enable-maintainer-mode")
        use test && myeconfargs+=("--with_unit_tests")
        use doc || myeconfargs+=("--disable-docs")
        eautomake --gnu --add-missing --force --copy #nowarn
-       autotools-utils_src_configure
-}
-
-src_compile() {
-       autotools-utils_src_compile
 }
 
 pkg_preinst() {
@@ -56,7 +49,8 @@ pkg_preinst() {
 }
 
 src_install() {
-       mv_command="cp -ar" autotools-utils_src_install
+       emake DESTDIR="${D}" install
+
        newinitd "${PATCHDIR}"/xsp.initd xsp
        newinitd "${PATCHDIR}"/mod-mono-server-r1.initd mod-mono-server
        newconfd "${PATCHDIR}"/xsp.confd xsp

Reply via email to