summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEray Aslan <eras@gentoo.org>2011-06-14 11:30:59 +0000
committerEray Aslan <eras@gentoo.org>2011-06-14 11:30:59 +0000
commita00b3aae4c3d00a79f4bc6283e25cddd67cafa35 (patch)
treed476f201dca0f4089e05560f47af9e0b3725e4d3 /mail-client/gbuffy
parent[bump] dev-perl/DateManip-6.240.0 (diff)
downloadgentoo-2-a00b3aae4c3d00a79f4bc6283e25cddd67cafa35.tar.gz
gentoo-2-a00b3aae4c3d00a79f4bc6283e25cddd67cafa35.tar.bz2
gentoo-2-a00b3aae4c3d00a79f4bc6283e25cddd67cafa35.zip
Respect CC and LDFLAGS
(Portage version: 2.1.10.3/cvs/Linux x86_64)
Diffstat (limited to 'mail-client/gbuffy')
-rw-r--r--mail-client/gbuffy/ChangeLog6
-rw-r--r--mail-client/gbuffy/files/gbuffy-ldflags.patch11
-rw-r--r--mail-client/gbuffy/gbuffy-0.2.6-r1.ebuild7
3 files changed, 20 insertions, 4 deletions
diff --git a/mail-client/gbuffy/ChangeLog b/mail-client/gbuffy/ChangeLog
index de7b8b452d65..b17364bf0a68 100644
--- a/mail-client/gbuffy/ChangeLog
+++ b/mail-client/gbuffy/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for mail-client/gbuffy
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/gbuffy/ChangeLog,v 1.6 2011/03/23 20:52:08 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/gbuffy/ChangeLog,v 1.7 2011/06/14 11:30:59 eras Exp $
+
+ 14 Jun 2011; Eray Aslan <eras@gentoo.org> gbuffy-0.2.6-r1.ebuild,
+ +files/gbuffy-ldflags.patch:
+ Respect CC and LDFLAGS.
23 Mar 2011; Tim Harder <radhermit@gentoo.org> -gbuffy-0.2.6.ebuild,
gbuffy-0.2.6-r1.ebuild:
diff --git a/mail-client/gbuffy/files/gbuffy-ldflags.patch b/mail-client/gbuffy/files/gbuffy-ldflags.patch
new file mode 100644
index 000000000000..7462e28caa7b
--- /dev/null
+++ b/mail-client/gbuffy/files/gbuffy-ldflags.patch
@@ -0,0 +1,11 @@
+--- Makefile.in 2011-06-14 11:16:11.000000000 +0000
++++ Makefile.in 2011-06-14 11:16:41.000000000 +0000
+@@ -28,7 +28,7 @@
+ all: gbuffy
+
+ gbuffy: $(OBJS)
+- $(CC) -o gbuffy $(OBJS) $(LIBS)
++ $(CC) $(LDFLAGS) -o gbuffy $(OBJS) $(LIBS)
+
+ config.h.in: $(srcdir)/acconfig.h
+ autoheader
diff --git a/mail-client/gbuffy/gbuffy-0.2.6-r1.ebuild b/mail-client/gbuffy/gbuffy-0.2.6-r1.ebuild
index a69e180af8ea..3f10ab80d81c 100644
--- a/mail-client/gbuffy/gbuffy-0.2.6-r1.ebuild
+++ b/mail-client/gbuffy/gbuffy-0.2.6-r1.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/gbuffy/gbuffy-0.2.6-r1.ebuild,v 1.3 2011/03/23 20:52:08 radhermit Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/gbuffy/gbuffy-0.2.6-r1.ebuild,v 1.4 2011/06/14 11:30:59 eras Exp $
EAPI=1
-inherit eutils
+inherit eutils toolchain-funcs
DESCRIPTION="A multi-mailbox biff-like monitor"
HOMEPAGE="http://www.fiction.net/blong/programs/gbuffy/"
@@ -26,11 +26,12 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}"/gbuffy-1.patch
epatch "${FILESDIR}"/gbuffy-search-3.patch
+ epatch "${FILESDIR}"/gbuffy-ldflags.patch
}
src_compile() {
econf --disable-applet || die
- emake || die
+ emake CC=$(tc-getCC) || die
}
src_install() {