summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-09-17 05:05:40 +0000
committerJeroen Roovers <jer@gentoo.org>2010-09-17 05:05:40 +0000
commite91908ef1bc1b3aa25e0fa82d4c8ecb0c2075706 (patch)
tree5e636aa01a4ea13740f0e6940770533cfb3b8ef1
parentwhitespace (diff)
downloadgentoo-2-e91908ef1bc1b3aa25e0fa82d4c8ecb0c2075706.tar.gz
gentoo-2-e91908ef1bc1b3aa25e0fa82d4c8ecb0c2075706.tar.bz2
gentoo-2-e91908ef1bc1b3aa25e0fa82d4c8ecb0c2075706.zip
Respect LDFLAGS (bug #335584).
(Portage version: 2.2_rc82/cvs/Linux i686)
-rw-r--r--app-misc/cdircmp/ChangeLog9
-rw-r--r--app-misc/cdircmp/cdircmp-0.3-r1.ebuild39
2 files changed, 46 insertions, 2 deletions
diff --git a/app-misc/cdircmp/ChangeLog b/app-misc/cdircmp/ChangeLog
index aeda4a42526d..41209e1278ff 100644
--- a/app-misc/cdircmp/ChangeLog
+++ b/app-misc/cdircmp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/cdircmp
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/cdircmp/ChangeLog,v 1.13 2008/12/30 19:35:53 angelos Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/cdircmp/ChangeLog,v 1.14 2010/09/17 05:05:40 jer Exp $
+
+*cdircmp-0.3-r1 (17 Sep 2010)
+
+ 17 Sep 2010; Jeroen Roovers <jer@gentoo.org> +cdircmp-0.3-r1.ebuild:
+ Respect LDFLAGS (bug #335584).
30 Dec 2008; Christoph Mende <angelos@gentoo.org> cdircmp-0.3.ebuild:
QA: Respect CC (bug 243622) and CFLAGS (bug 240064)
diff --git a/app-misc/cdircmp/cdircmp-0.3-r1.ebuild b/app-misc/cdircmp/cdircmp-0.3-r1.ebuild
new file mode 100644
index 000000000000..5104a7b8a135
--- /dev/null
+++ b/app-misc/cdircmp/cdircmp-0.3-r1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/cdircmp/cdircmp-0.3-r1.ebuild,v 1.1 2010/09/17 05:05:40 jer Exp $
+
+EAPI="2"
+
+inherit toolchain-funcs
+
+DESCRIPTION="Compare directories and select files to copy"
+HOMEPAGE="http://home.hccnet.nl/paul.schuurmans/"
+SRC_URI="http://home.hccnet.nl/paul.schuurmans/download/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=sys-libs/ncurses-5.4"
+DEPEND="${RDEPEND}
+ >=sys-apps/sed-4"
+
+src_prepare() {
+ sed -i Makefile \
+ -e 's| -o | $(LDFLAGS)&|g' \
+ || die "sed Makefile"
+}
+
+src_compile() {
+ emake CC="$(tc-getCC)" \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ || die "emake failed"
+}
+
+src_install() {
+ dodoc AUTHORS ChangeLog README
+
+ dobin ${PN} || die "dobin failed"
+}