commit:     2aca935f9c48d130710d950402a9eccc06dbbdad
Author:     Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sun Jul 18 11:06:04 2021 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jul 18 11:06:04 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aca935f

sys-devel/bmake: Version bump to 20210621

Closes: https://github.com/gentoo/gentoo/pull/21625
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 sys-devel/bmake/Manifest              |  1 +
 sys-devel/bmake/bmake-20210621.ebuild | 55 +++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/sys-devel/bmake/Manifest b/sys-devel/bmake/Manifest
index 4872b6c45fe..ead841ddbdf 100644
--- a/sys-devel/bmake/Manifest
+++ b/sys-devel/bmake/Manifest
@@ -1,2 +1,3 @@
 DIST bmake-20210420.tar.gz 755281 BLAKE2B 
fe98dc5d0c5a11aecf45b160cfe5b69ef49e56a973823e84ec1f607023aa94d66cd87bc3f31fc340dc86eae0a6e87ca2a71b8367f3e9bb1a9eae8626d13a80ea
 SHA512 
3bb603965c149e4f6bee4afff9710921e943bd1faaf5d142418a5f7a0752416e094b6a0f0dfc998bf6bedc391f668162856a51167e34b6f2ad2a0a498c96ed35
+DIST bmake-20210621.tar.gz 758062 BLAKE2B 
ba2dd62c752e649a4bb939dbbb948b13f9f5494c047e20149fe3ef94601a84044a70120e717af4d6ac76b4c7fcb57c4f742a12923fe945cc7a675295a4d4e1f9
 SHA512 
75419782f097204e74cef1028ad96ac92e93de5f89844923f7a559de18555e815653fef150ccd2d63376cc697c849cedd28b4d066077aeb52daf8e2d0fcbfddf
 DIST mk-20210330.tar.gz 107380 BLAKE2B 
9ac30a117d9ba31635cf8d8d29fdba76f148611f47628403ca8f807081c32509f10498d3c30fd24985e5420af4710fe59fc6315d71f2d0c1cfed93263a06553a
 SHA512 
6acd3ee911442934082f4f877d795b07c5e23022eaa9c0874799d97e92a2f5a663cb45f94b7f9745c49cbbce6b7e755a29e381ccfb9e68a0be1eedbd22fd5d3b

diff --git a/sys-devel/bmake/bmake-20210621.ebuild 
b/sys-devel/bmake/bmake-20210621.ebuild
new file mode 100644
index 00000000000..5d5f1563085
--- /dev/null
+++ b/sys-devel/bmake/bmake-20210621.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MK_VER=20210330
+
+DESCRIPTION="NetBSD's portable make"
+HOMEPAGE="http://www.crufty.net/help/sjg/bmake.html";
+SRC_URI="
+       http://void.crufty.net/ftp/pub/sjg/${P}.tar.gz
+       http://void.crufty.net/ftp/pub/sjg/mk-${MK_VER}.tar.gz";
+S="${WORKDIR}/${PN}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+
+# Skip failing test (sandbox and csh)
+PATCHES=( "${FILESDIR}"/${PN}-20210206-tests.patch )
+
+src_prepare() {
+       default
+       cd "${WORKDIR}" || die
+       eapply "${FILESDIR}"/${PN}-20210314-mk-fixes.patch
+}
+
+src_configure() {
+       econf \
+               --with-mksrc=../mk \
+               --with-default-sys-path="${EPREFIX}"/usr/share/mk/${PN} \
+               --with-machine_arch=${ARCH}
+}
+
+src_compile() {
+       sh make-bootstrap.sh || die "bootstrap failed"
+}
+
+src_test() {
+       cd unit-tests || die
+
+       # the 'ternary' test uses ${A} internally, which
+       # conflicts with Gentoo's ${A}, hence unset it for
+       # the tests temporarily.
+       env -u A MAKEFLAGS= \
+               "${S}"/bmake -r -m / TEST_MAKE="${S}"/bmake test || die "tests 
compilation failed"
+}
+
+src_install() {
+       dobin ${PN}
+       doman ${PN}.1
+       FORCE_BSD_MK=1 SYS_MK_DIR=. \
+               sh ../mk/install-mk -v -m 644 "${ED}"/usr/share/mk/${PN} \
+               || die "failed to install mk files"
+}

Reply via email to