summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-05-12 10:14:40 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-05-12 10:14:40 +0000
commit7f08eaff1606f56ad6adbbd3e0777fb889e1219c (patch)
treeb537e59955bd64a53dfd4f1573e8eb7a0a6752e5 /sys-devel/bmake
parentList net-wireless/bluez first in ||( a b ) dependency w.r.t. bug 269519. (diff)
downloadgentoo-2-7f08eaff1606f56ad6adbbd3e0777fb889e1219c.tar.gz
gentoo-2-7f08eaff1606f56ad6adbbd3e0777fb889e1219c.tar.bz2
gentoo-2-7f08eaff1606f56ad6adbbd3e0777fb889e1219c.zip
version bump
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'sys-devel/bmake')
-rw-r--r--sys-devel/bmake/ChangeLog7
-rw-r--r--sys-devel/bmake/bmake-20090222.ebuild44
2 files changed, 50 insertions, 1 deletions
diff --git a/sys-devel/bmake/ChangeLog b/sys-devel/bmake/ChangeLog
index f13a9d6f3a0b..dc94e93fcbba 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.5 2009/05/12 10:08:37 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/bmake/ChangeLog,v 1.6 2009/05/12 10:14:40 aballier Exp $
+
+*bmake-20090222 (12 May 2009)
+
+ 12 May 2009; Alexis Ballier <aballier@gentoo.org> +bmake-20090222.ebuild:
+ version bump
12 May 2009; Alexis Ballier <aballier@gentoo.org> -bmake-20060728.ebuild,
-files/bmake-makefile.patch:
diff --git a/sys-devel/bmake/bmake-20090222.ebuild b/sys-devel/bmake/bmake-20090222.ebuild
new file mode 100644
index 000000000000..c26cdf10413e
--- /dev/null
+++ b/sys-devel/bmake/bmake-20090222.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/bmake/bmake-20090222.ebuild,v 1.1 2009/05/12 10:14:40 aballier Exp $
+
+inherit eutils
+
+MK_VER=20081111
+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_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/${PN}-20080515-makefile.patch
+ epatch "${FILESDIR}"/${PN}-tests.patch
+}
+
+src_compile() {
+ econf --with-mksrc=../mk --with-default-sys-path=/usr/share/mk/${PN} || die "Configure failed"
+ emake -f makefile.boot bootstrap || die "Compile failed"
+}
+
+src_test() {
+ # $A set by portage confuses the tests...
+ env -u A emake -f makefile.boot check || die "Tests failed"
+}
+
+src_install() {
+ emake -f makefile.boot -j1 DESTDIR="${D}" install-bin install-man || die "Install failed"
+ 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"
+}