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