From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 727BE139086 for ; Sat, 17 Dec 2016 13:08:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B154B21C06B; Sat, 17 Dec 2016 13:08:40 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7C94121C06B for ; Sat, 17 Dec 2016 13:08:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5E4B5340F43 for ; Sat, 17 Dec 2016 13:08:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C761771B for ; Sat, 17 Dec 2016 13:08:37 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1481980111.851b48a9efe3cb99e1b7c2c5f1aa46ea5588fb4a.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/bmake/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/bmake/Manifest sys-devel/bmake/bmake-20161126.ebuild X-VCS-Directories: sys-devel/bmake/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 851b48a9efe3cb99e1b7c2c5f1aa46ea5588fb4a X-VCS-Branch: master Date: Sat, 17 Dec 2016 13:08:37 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fc167da6-3eda-4586-917c-a09da75dc0e0 X-Archives-Hash: 0d417b7efc3f84cb3f622d321c7cf2e0 commit: 851b48a9efe3cb99e1b7c2c5f1aa46ea5588fb4a Author: Alexis Ballier gentoo org> AuthorDate: Sat Dec 17 13:07:51 2016 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Sat Dec 17 13:08:31 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=851b48a9 sys-devel/bmake: bump to 20161126 Package-Manager: Portage-2.3.3, Repoman-2.3.1 sys-devel/bmake/Manifest | 1 + sys-devel/bmake/bmake-20161126.ebuild | 55 +++++++++++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/sys-devel/bmake/Manifest b/sys-devel/bmake/Manifest index 0155c9d..83a6f45 100644 --- a/sys-devel/bmake/Manifest +++ b/sys-devel/bmake/Manifest @@ -1,2 +1,3 @@ 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 mk-20151111.tar.gz 88106 SHA256 beebba89da0ba068c904599d3358e6f08c35418b13300fac787c11774a525bc1 SHA512 48fc6c845f2aef3b9be6fdb1db8a62448857ba7cbffc5417f45a7a2d5e59940356a245b9f484aa05e4c585e0a4c2e2eb7577c7d9e942cc673eb561f6c6e257d4 WHIRLPOOL 68838257558b43bc503841cf23f09cfc926e1152f847fcecc803574070eb9c0ceb5fc75c0f78f52559d1dfd7283a4b001c76b62e44158850c0c019a67d69b3aa diff --git a/sys-devel/bmake/bmake-20161126.ebuild b/sys-devel/bmake/bmake-20161126.ebuild new file mode 100644 index 00000000..cce8dff --- /dev/null +++ b/sys-devel/bmake/bmake-20161126.ebuild @@ -0,0 +1,55 @@ +# 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" +IUSE="" + +DEPEND="" +RDEPEND="" + +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 + 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} + newman ${PN}.cat1 ${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" +}