Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/kbuild/
Date: Wed, 21 Nov 2018 14:22:27
Message-Id: 1542810135.7f0e99251be74d712e9a8bb8cc04341cfc04c887.polynomial-c@gentoo
1 commit: 7f0e99251be74d712e9a8bb8cc04341cfc04c887
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Nov 21 14:22:03 2018 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Nov 21 14:22:15 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f0e9925
7
8 dev-util/kbuild: live ebuild improvements
9
10 Package-Manager: Portage-2.3.52, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 dev-util/kbuild/kbuild-9999.ebuild | 31 +++++++++++++++++--------------
14 1 file changed, 17 insertions(+), 14 deletions(-)
15
16 diff --git a/dev-util/kbuild/kbuild-9999.ebuild b/dev-util/kbuild/kbuild-9999.ebuild
17 index 5df4852ffb2..ccbf4507612 100644
18 --- a/dev-util/kbuild/kbuild-9999.ebuild
19 +++ b/dev-util/kbuild/kbuild-9999.ebuild
20 @@ -1,11 +1,9 @@
21 -# Copyright 1999-2017 Gentoo Foundation
22 +# Copyright 1999-2018 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 EAPI=6
26
27 -WANT_AUTOMAKE=1.9
28 -
29 -inherit autotools eutils subversion
30 +inherit autotools subversion
31
32 DESCRIPTION="A makefile framework for writing simple makefiles for complex tasks"
33 HOMEPAGE="http://svn.netlabs.org/kbuild/wiki"
34 @@ -23,24 +21,29 @@ RDEPEND=""
35 S="${WORKDIR}/${MY_P/-src}"
36
37 src_prepare() {
38 - default
39 - rm -rf "${S}/kBuild/bin" || die
40 + default
41 + rm -rf "${S}/kBuild/bin" || die
42 +
43 + # bootstrapping breaks because of missing po/Makefile.in.in
44 + sed '/^AC_CONFIG_FILES/s@ po/Makefile\.in@@' \
45 + -i src/kmk/configure.ac || die
46
47 - cd "${S}/src/kmk" || die
48 - eautoreconf
49 - cd "${S}/src/sed" || die
50 - eautoreconf
51 + cd "${S}/src/kmk" || die
52 + eautoreconf
53 + cd "${S}/src/sed" || die
54 + eautoreconf
55 }
56
57 src_compile() {
58 - kBuild/env.sh --full \
59 - make -f bootstrap.gmk AUTORECONF=true \
60 + kBuild/env.sh --full \
61 + emake -f bootstrap.gmk AUTORECONF=true \
62 || die "bootstrap failed"
63 }
64
65 src_install() {
66 - kBuild/env.sh kmk \
67 + kBuild/env.sh kmk \
68 NIX_INSTALL_DIR=/usr \
69 PATH_INS="${D}" \
70 - install || die "install failed"
71 + install \
72 + || die "install failed"
73 }