summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/bmake')
-rw-r--r--sys-devel/bmake/ChangeLog9
-rw-r--r--sys-devel/bmake/Manifest13
-rw-r--r--sys-devel/bmake/bmake-20110606.ebuild55
3 files changed, 70 insertions, 7 deletions
diff --git a/sys-devel/bmake/ChangeLog b/sys-devel/bmake/ChangeLog
index 6109cd910ef7..363768957138 100644
--- a/sys-devel/bmake/ChangeLog
+++ b/sys-devel/bmake/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-devel/bmake
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/bmake/ChangeLog,v 1.7 2009/08/10 09:19:13 aballier Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/bmake/ChangeLog,v 1.8 2011/06/14 08:31:35 naota Exp $
+
+*bmake-20110606 (14 Jun 2011)
+
+ 14 Jun 2011; Naohiro Aota <naota@gentoo.org> +bmake-20110606.ebuild:
+ Version bump. fix bug #327399
10 Aug 2009; Alexis Ballier <aballier@gentoo.org> -bmake-20080515.ebuild:
remove old
diff --git a/sys-devel/bmake/Manifest b/sys-devel/bmake/Manifest
index 1b561e146252..7736449edba4 100644
--- a/sys-devel/bmake/Manifest
+++ b/sys-devel/bmake/Manifest
@@ -4,14 +4,17 @@ Hash: SHA1
AUX bmake-20080515-makefile.patch 942 RMD160 b2cd05b9ceea09d09cd821944881ba0bcf6306b1 SHA1 000fdce518422b8cd9d03b6bead6bc8c27a0456c SHA256 ed0ce6cac63bef4f113dac60850c2e0f616c6e81516a93e2ee372afd872d2389
AUX bmake-tests.patch 729 RMD160 c5cf586c337cfd36fc980389e8447f795153ac99 SHA1 4a8d72cbe9b1cbc0fa27e0253283a3cab7033837 SHA256 2296d70485c8dd7e20983f7c5f48e485dd0b7853232fc2effc1a29c187bc3753
DIST bmake-20090222.tar.gz 365429 RMD160 aa29deeeef77e2a9bf7b3f256da616b30550d2c2 SHA1 8cc3bd207837635ec2522691bfa0e8faa4528261 SHA256 5fd3f6b53cfb0fd57cdb20dee9ec325d7ee0f694bd349ea7680a9b1afdf56672
+DIST bmake-20110606.tar.gz 430273 RMD160 8922c857f30a1f5f6a445961bb2fc31c950fd86d SHA1 5920f84cd4c2aeee4c02201c0caf89af578ebced SHA256 5af05b75311b9a1d59777b1dd240628ee3b90035806969eb9ab3fdf0860ea93e
DIST mk-20081111.tar.gz 32590 RMD160 5adaa6e182f336fc76489b804b2e88bc5690860e SHA1 a08e1723726c8f3b2157daea9236d067eca6c259 SHA256 42a3ded128718b72b2ec1f86443ec61965b06e615fccd32b4cd6e37e352ff68f
+DIST mk-20110606.tar.gz 60754 RMD160 0a0fd40dde044eb85572b261209bfcdbf0e33f01 SHA1 62f63752946a9a1db0c0f00ef6c93591bdcfe485 SHA256 9a331c83106e8db9e791501d05204af6de023777159881232bc8300ac5784ee3
EBUILD bmake-20090222.ebuild 1221 RMD160 cecf778c40ecf242c9eeec467108a4e91a262d3c SHA1 d897e8994e9eac7ff9bf41277d86241f69aed79c SHA256 68cc0498578ff7ae5eb52ca1ac7a1cae9b513f8838fe8ac8e4db035908c08b40
-MISC ChangeLog 1191 RMD160 d903953ec61a537a397649fda70692f2786f78b8 SHA1 747182dc0d48f461399a934b60a3a587d951c55c SHA256 0adbb01cb3ed1493fb5a8c9789254858042e2a6d023ed3351b576d3376138c9d
+EBUILD bmake-20110606.ebuild 1309 RMD160 8b9e4f53da0e7056f8297c99a2cd882c20a98450 SHA1 cc1e45187a64702a52b3d6d72c50464a22ccd3f9 SHA256 bfcbf9a681caa3196eadb0978de97c4be5b2ad2c981ee92e82ea15d4fa682822
+MISC ChangeLog 1323 RMD160 60f788fab0f9ab0d7a0ea1f617ce9137a91e45f1 SHA1 948c9859ff92023ee995166fd34b2c79672f0826 SHA256 6b38b4fc751ffb402138c5058410f70330d6676fa0d463aebc8a6931dbd8cd1f
MISC metadata.xml 156 RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 SHA1 d9d9d4f2b5afc58339ea3e562fca490156935f1f SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.11 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAkp/5hoACgkQvFcC4BYPU0op6wCeI3MAffkrdvfu41eZF7JXA0+5
-odAAoMvbT43yGwelKpCNiyL6G8jcEMuv
-=/jPB
+iEYEARECAAYFAk33HJYACgkQGpDnPLSHuMDg4wCghD2z1BA15YVv0v/TlyMbtDnU
+n90An1+78qJga3W9S6MgGpnEHSaD//mQ
+=+YQG
-----END PGP SIGNATURE-----
diff --git a/sys-devel/bmake/bmake-20110606.ebuild b/sys-devel/bmake/bmake-20110606.ebuild
new file mode 100644
index 000000000000..c34954575c9a
--- /dev/null
+++ b/sys-devel/bmake/bmake-20110606.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/bmake/bmake-20110606.ebuild,v 1.1 2011/06/14 08:31:35 naota Exp $
+
+EAPI=3
+
+inherit eutils
+
+MK_VER=20110606
+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"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+S="${WORKDIR}/${PN}"
+
+src_configure() {
+ econf \
+ --with-mksrc=../mk \
+ --with-default-sys-path=/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} || die
+ newman ${PN}.cat1 ${PN}.1 || die
+ FORCE_BSD_MK=1 SYS_MK_DIR=. \
+ sh ../mk/install-mk -v -m 644 "${D}"/usr/share/mk/${PN} \
+ || die "failed to install mk files"
+}