summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2010-10-11 09:08:43 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2010-10-11 09:08:43 +0000
commit8125efc828b9d562874d3a04721b2523128311f4 (patch)
treefe0178b4161f6ad24b14f578cef85251221eabb3
parentAdd support for custom env settings, CONFIGROOT, and other stuff. (diff)
downloadgentoo-2-8125efc828b9d562874d3a04721b2523128311f4.tar.gz
gentoo-2-8125efc828b9d562874d3a04721b2523128311f4.tar.bz2
gentoo-2-8125efc828b9d562874d3a04721b2523128311f4.zip
Made package honour Gentoo CFLAGS.
Made package honour Gentoo LDFLAGS, closing bug #338815. (Portage version: 2.1.8.3/cvs/Linux i686)
-rw-r--r--x11-plugins/wmppp/ChangeLog12
-rw-r--r--x11-plugins/wmppp/wmppp-1.3.0.ebuild11
2 files changed, 16 insertions, 7 deletions
diff --git a/x11-plugins/wmppp/ChangeLog b/x11-plugins/wmppp/ChangeLog
index a922acab730c..db27d9b94800 100644
--- a/x11-plugins/wmppp/ChangeLog
+++ b/x11-plugins/wmppp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-plugins/wmppp
-# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmppp/ChangeLog,v 1.11 2007/07/22 04:35:34 dberkholz Exp $
+# Copyright 2002-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmppp/ChangeLog,v 1.12 2010/10/11 09:08:43 s4t4n Exp $
+
+ 11 Sep 2010; Michele Noberasco <s4t4n@gentoo.org>; wmppp-1.3.0.ebuild:
+ Made package honour Gentoo CFLAGS.
+ Made package honour Gentoo LDFLAGS, closing bug #338815.
22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>; wmppp-1.3.0.ebuild:
Drop virtual/x11 references.
@@ -21,7 +25,7 @@
Added to ~ppc.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
-
+
*wmppp-1.3.0 (7-Feb-2002)
30 Aug 2002; Seemant Kulleen <seemant@gentoo.org> * :
@@ -29,5 +33,5 @@
Relocated to x11-plugins
7 Feb 2002; Vitaly Kushneriuk <vitaly@gentoo.org> wmppp-1.3.0.ebuild :
-
+
Just added to portage.
diff --git a/x11-plugins/wmppp/wmppp-1.3.0.ebuild b/x11-plugins/wmppp/wmppp-1.3.0.ebuild
index 2f34159c68a1..3e6f69ef386c 100644
--- a/x11-plugins/wmppp/wmppp-1.3.0.ebuild
+++ b/x11-plugins/wmppp/wmppp-1.3.0.ebuild
@@ -1,7 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmppp/wmppp-1.3.0.ebuild,v 1.13 2007/07/22 04:35:34 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmppp/wmppp-1.3.0.ebuild,v 1.14 2010/10/11 09:08:43 s4t4n Exp $
+EAPI=3
IUSE=""
S=${WORKDIR}/wmppp.app/wmppp
DESCRIPTION="Network monitoring dock.app"
@@ -18,8 +19,12 @@ SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86 sparc amd64 ppc"
+src_prepare() {
+ sed -ie 's/-o wmppp/\$(LDFLAGS) -o wmppp/' Makefile
+}
+
src_compile() {
- emake all || die
+ emake CFLAGS="${CFLAGS}" all || die
}
src_install () {