Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/bmake/
Date: Thu, 29 Jul 2021 10:46:19
Message-Id: 1627555565.9803bc99e3206e0462d575aeea68797d75c9c3da.juippis@gentoo
1 commit: 9803bc99e3206e0462d575aeea68797d75c9c3da
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Mon Jul 19 18:29:37 2021 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Thu Jul 29 10:46:05 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9803bc99
7
8 sys-devel/bmake: Version bump to 20210704
9
10 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 sys-devel/bmake/Manifest | 1 +
14 sys-devel/bmake/bmake-20210704.ebuild | 55 +++++++++++++++++++++++++++++++++++
15 2 files changed, 56 insertions(+)
16
17 diff --git a/sys-devel/bmake/Manifest b/sys-devel/bmake/Manifest
18 index ead841ddbdf..cb979603d17 100644
19 --- a/sys-devel/bmake/Manifest
20 +++ b/sys-devel/bmake/Manifest
21 @@ -1,3 +1,4 @@
22 DIST bmake-20210420.tar.gz 755281 BLAKE2B fe98dc5d0c5a11aecf45b160cfe5b69ef49e56a973823e84ec1f607023aa94d66cd87bc3f31fc340dc86eae0a6e87ca2a71b8367f3e9bb1a9eae8626d13a80ea SHA512 3bb603965c149e4f6bee4afff9710921e943bd1faaf5d142418a5f7a0752416e094b6a0f0dfc998bf6bedc391f668162856a51167e34b6f2ad2a0a498c96ed35
23 DIST bmake-20210621.tar.gz 758062 BLAKE2B ba2dd62c752e649a4bb939dbbb948b13f9f5494c047e20149fe3ef94601a84044a70120e717af4d6ac76b4c7fcb57c4f742a12923fe945cc7a675295a4d4e1f9 SHA512 75419782f097204e74cef1028ad96ac92e93de5f89844923f7a559de18555e815653fef150ccd2d63376cc697c849cedd28b4d066077aeb52daf8e2d0fcbfddf
24 +DIST bmake-20210704.tar.gz 759047 BLAKE2B 4c21941c45c826e1758c64bc60532cff3b9a727cc18658b019ce55382aad8c668a5ef9039df695629f81a334969f1a5aaf08d5924aa20576474a528fe8dbcb15 SHA512 b21d89753b659a70d6f5d70aa41cc2b5f5ded5a5a4a227064c938db42282d7684df9389fa1db532c2e0de11d5be1e66698388f1e1e6966153ec56330af688674
25 DIST mk-20210330.tar.gz 107380 BLAKE2B 9ac30a117d9ba31635cf8d8d29fdba76f148611f47628403ca8f807081c32509f10498d3c30fd24985e5420af4710fe59fc6315d71f2d0c1cfed93263a06553a SHA512 6acd3ee911442934082f4f877d795b07c5e23022eaa9c0874799d97e92a2f5a663cb45f94b7f9745c49cbbce6b7e755a29e381ccfb9e68a0be1eedbd22fd5d3b
26
27 diff --git a/sys-devel/bmake/bmake-20210704.ebuild b/sys-devel/bmake/bmake-20210704.ebuild
28 new file mode 100644
29 index 00000000000..5d5f1563085
30 --- /dev/null
31 +++ b/sys-devel/bmake/bmake-20210704.ebuild
32 @@ -0,0 +1,55 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=8
37 +
38 +MK_VER=20210330
39 +
40 +DESCRIPTION="NetBSD's portable make"
41 +HOMEPAGE="http://www.crufty.net/help/sjg/bmake.html"
42 +SRC_URI="
43 + http://void.crufty.net/ftp/pub/sjg/${P}.tar.gz
44 + http://void.crufty.net/ftp/pub/sjg/mk-${MK_VER}.tar.gz"
45 +S="${WORKDIR}/${PN}"
46 +
47 +LICENSE="BSD"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~ppc ~x86"
50 +
51 +# Skip failing test (sandbox and csh)
52 +PATCHES=( "${FILESDIR}"/${PN}-20210206-tests.patch )
53 +
54 +src_prepare() {
55 + default
56 + cd "${WORKDIR}" || die
57 + eapply "${FILESDIR}"/${PN}-20210314-mk-fixes.patch
58 +}
59 +
60 +src_configure() {
61 + econf \
62 + --with-mksrc=../mk \
63 + --with-default-sys-path="${EPREFIX}"/usr/share/mk/${PN} \
64 + --with-machine_arch=${ARCH}
65 +}
66 +
67 +src_compile() {
68 + sh make-bootstrap.sh || die "bootstrap failed"
69 +}
70 +
71 +src_test() {
72 + cd unit-tests || die
73 +
74 + # the 'ternary' test uses ${A} internally, which
75 + # conflicts with Gentoo's ${A}, hence unset it for
76 + # the tests temporarily.
77 + env -u A MAKEFLAGS= \
78 + "${S}"/bmake -r -m / TEST_MAKE="${S}"/bmake test || die "tests compilation failed"
79 +}
80 +
81 +src_install() {
82 + dobin ${PN}
83 + doman ${PN}.1
84 + FORCE_BSD_MK=1 SYS_MK_DIR=. \
85 + sh ../mk/install-mk -v -m 644 "${ED}"/usr/share/mk/${PN} \
86 + || die "failed to install mk files"
87 +}