summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-09-18 03:38:38 +0000
committerJeroen Roovers <jer@gentoo.org>2010-09-18 03:38:38 +0000
commitffbd38694e7977d68970f001a537e6712c556289 (patch)
treeacd386ca549af0495137e79f9b00e5ae6d5ee887 /dev-util/dmake
parentRemove old. Clean up patches. Respect LDFLAGS (bug #335809). (diff)
downloadgentoo-2-ffbd38694e7977d68970f001a537e6712c556289.tar.gz
gentoo-2-ffbd38694e7977d68970f001a537e6712c556289.tar.bz2
gentoo-2-ffbd38694e7977d68970f001a537e6712c556289.zip
Version bump. Respect LDFLAGS (bug #335961), more CFLAGS.
(Portage version: 2.2_rc83/cvs/Linux i686)
Diffstat (limited to 'dev-util/dmake')
-rw-r--r--dev-util/dmake/ChangeLog7
-rw-r--r--dev-util/dmake/dmake-4.11.ebuild40
2 files changed, 46 insertions, 1 deletions
diff --git a/dev-util/dmake/ChangeLog b/dev-util/dmake/ChangeLog
index 06ab5dffee4e..5d914b4d04d8 100644
--- a/dev-util/dmake/ChangeLog
+++ b/dev-util/dmake/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-util/dmake
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/dmake/ChangeLog,v 1.19 2010/01/15 21:33:36 fauli Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/dmake/ChangeLog,v 1.20 2010/09/18 03:38:38 jer Exp $
+
+*dmake-4.11 (18 Sep 2010)
+
+ 18 Sep 2010; Jeroen Roovers <jer@gentoo.org> +dmake-4.11.ebuild:
+ Version bump. Respect LDFLAGS (bug #335961), more CFLAGS.
15 Jan 2010; Christian Faulhammer <fauli@gentoo.org> dmake-4.1-r1.ebuild:
Transfer Prefix keywords
diff --git a/dev-util/dmake/dmake-4.11.ebuild b/dev-util/dmake/dmake-4.11.ebuild
new file mode 100644
index 000000000000..c184d995d393
--- /dev/null
+++ b/dev-util/dmake/dmake-4.11.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/dmake/dmake-4.11.ebuild,v 1.1 2010/09/18 03:38:38 jer Exp $
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Improved make"
+HOMEPAGE="http://tools.openoffice.org/dmake/"
+SRC_URI="http://tools.openoffice.org/${PN}/${P/-/_}.zip"
+
+LICENSE="GPL-1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE=""
+
+DEPEND="sys-apps/groff"
+RDEPEND=""
+
+S=${WORKDIR}/${PN}
+
+src_prepare() {
+ sed -i unix/linux/gnu/make.sh \
+ -e "s/gcc/$(tc-getCC) ${CFLAGS}/g" \
+ -e "s|-O\( -o dmake\)|${LDFLAGS}\1|g" \
+ || die "sed failed"
+}
+
+src_compile() {
+ sh unix/linux/gnu/make.sh || die "sh unix/linux/gnu/make.sh failed"
+}
+
+src_install () {
+ dobin dmake || die "dobin failed"
+ newman man/dmake.tf dmake.1 || die "newman failed"
+
+ insinto /usr/share/dmake/startup
+ doins -r startup/{{startup,config}.mk,unix} || die "doins failed"
+}