diff options
author | Alexis Ballier <aballier@gentoo.org> | 2016-12-29 16:44:51 +0100 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2016-12-29 16:44:51 +0100 |
commit | f6966c64cb0e31960ba817427216a928dc3d6824 (patch) | |
tree | e1c13d2b4c8af5f24720f21e4ddcdfa6be72f2bd /sys-devel | |
parent | app-emacs/tuareg-mode: bump to 2.0.10 (diff) | |
download | gentoo-f6966c64cb0e31960ba817427216a928dc3d6824.tar.gz gentoo-f6966c64cb0e31960ba817427216a928dc3d6824.tar.bz2 gentoo-f6966c64cb0e31960ba817427216a928dc3d6824.zip |
sys-devel/bmake: bump to 20161212
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/bmake/Manifest | 1 | ||||
-rw-r--r-- | sys-devel/bmake/bmake-20161212.ebuild | 51 |
2 files changed, 52 insertions, 0 deletions
diff --git a/sys-devel/bmake/Manifest b/sys-devel/bmake/Manifest index 83a6f45f9cad..957a06bf9cf7 100644 --- a/sys-devel/bmake/Manifest +++ b/sys-devel/bmake/Manifest @@ -1,3 +1,4 @@ DIST bmake-20160926.tar.gz 544748 SHA256 5859a7c988936f605120ad3ad127a7c116269d92dd45b559f143f3ee7addba11 SHA512 38c9f928d9178404b9cb32c78cc2317e0947e0a23631e8c416f7ec35523c3e75ab324651204ebdc1928653927f8aa990a5aa75ce48d35184f7392195402ad2a7 WHIRLPOOL 194f40525f99cb2fa2738526fb2300bd2a80f25bc74a073837b42287abeebb9369e7d0121c940675ea160df192eab2f9a7909fd20e5b8628a4ca2fd3a6638dde DIST bmake-20161126.tar.gz 545726 SHA256 1efd12863dc91971ca6d497eea0671cdd36815111403a9123a070869563fbf14 SHA512 1bae26cb9339f6da5bf66d26de81f864fb2b58653cd1e39030fb7c0f426dab115235f1babf24c85501457b08dcaf581b6778071edba552113611d336e5aa47ab WHIRLPOOL 96fd71323c66457933d4c5281db1360279f2978006f3d2c240b70e7aa66589117c27f5dc3c5bcffd6d1b4f7f884d61e425c520f0c5662069ff919d8320809e0c +DIST bmake-20161212.tar.gz 546196 SHA256 4579f320c2e97ee544edbc540796dc7f21ebb5ad91195ed36e29cf87c45c0816 SHA512 2510322d0d91fd6b1d9d449ea793f438eae603638df7534f57083fc9d631f8ff3019322576fdb2c6deeaa9b798b6df9b1db3d6de19e8ce14210d2f8882d4cb4d WHIRLPOOL 07647aa9be377643a497a2313ba559ee779540e84f75ecdfd3c728f2f1625b70f1cefc8a46a8e7e576dd69425fdcdc2c4da1dbbde88489586f4fd40cd15dfd2d DIST mk-20151111.tar.gz 88106 SHA256 beebba89da0ba068c904599d3358e6f08c35418b13300fac787c11774a525bc1 SHA512 48fc6c845f2aef3b9be6fdb1db8a62448857ba7cbffc5417f45a7a2d5e59940356a245b9f484aa05e4c585e0a4c2e2eb7577c7d9e942cc673eb561f6c6e257d4 WHIRLPOOL 68838257558b43bc503841cf23f09cfc926e1152f847fcecc803574070eb9c0ceb5fc75c0f78f52559d1dfd7283a4b001c76b62e44158850c0c019a67d69b3aa diff --git a/sys-devel/bmake/bmake-20161212.ebuild b/sys-devel/bmake/bmake-20161212.ebuild new file mode 100644 index 000000000000..76e1bcbd6083 --- /dev/null +++ b/sys-devel/bmake/bmake-20161212.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit eutils + +MK_VER=20151111 +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" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86 ~x64-freebsd" + +S="${WORKDIR}/${PN}" + +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 + LC_ALL=C env -u A ${S}/bmake -r -m . > test.out 2>&1 \ + || die "tests compilation failed" + sed -i \ + -e "s:${S}/::g" \ + -e "s:bmake\\[.\\]:make:g" \ + -e "s:unit-tests/::g" \ + test.out || die "Fixing values failed" + diff -u test.exp test.out + [[ $(diff -u test.exp test.out |wc -l) -gt 0 ]] && die "tests differ" +} + +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" +} |