summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Noberasco <s4t4n@gentoo.org>2009-01-19 14:56:59 +0000
committerMichele Noberasco <s4t4n@gentoo.org>2009-01-19 14:56:59 +0000
commite52cb1c85374bd98bcfdf4524ba425e96e0a92b7 (patch)
treef556c8f098f0e6cf819b03fc34956f481e1fd421 /x11-plugins/wmmldonkey
parentFix gcc-4.3 bug #251126 (diff)
downloadgentoo-2-e52cb1c85374bd98bcfdf4524ba425e96e0a92b7.tar.gz
gentoo-2-e52cb1c85374bd98bcfdf4524ba425e96e0a92b7.tar.bz2
gentoo-2-e52cb1c85374bd98bcfdf4524ba425e96e0a92b7.zip
Fixed compilation with --as-needed. Closes bug #248643.
Some ebuild QA fixes. (Portage version: 2.1.6.4/cvs/Linux 2.6.24-tuxonice-r9 i686)
Diffstat (limited to 'x11-plugins/wmmldonkey')
-rw-r--r--x11-plugins/wmmldonkey/ChangeLog6
-rw-r--r--x11-plugins/wmmldonkey/wmmldonkey-0.003.ebuild17
2 files changed, 19 insertions, 4 deletions
diff --git a/x11-plugins/wmmldonkey/ChangeLog b/x11-plugins/wmmldonkey/ChangeLog
index e2e64ab8353b..1f09db0304df 100644
--- a/x11-plugins/wmmldonkey/ChangeLog
+++ b/x11-plugins/wmmldonkey/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-plugins/wmmldonkey
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmldonkey/ChangeLog,v 1.6 2007/07/22 04:50:48 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmldonkey/ChangeLog,v 1.7 2009/01/19 14:56:59 s4t4n Exp $
+
+ 19 Jan 2009; Michele Noberasco <s4t4n@gentoo.org> wmmldonkey-0.003.ebuild:
+ Fixed compilation with --as-needed. Closes bug #248643.
+ Some ebuild QA fixes.
22 Jul 2007; Donnie Berkholz <dberkholz@gentoo.org>;
wmmldonkey-0.003.ebuild:
diff --git a/x11-plugins/wmmldonkey/wmmldonkey-0.003.ebuild b/x11-plugins/wmmldonkey/wmmldonkey-0.003.ebuild
index 096d3551beef..c7bcbd634558 100644
--- a/x11-plugins/wmmldonkey/wmmldonkey-0.003.ebuild
+++ b/x11-plugins/wmmldonkey/wmmldonkey-0.003.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmldonkey/wmmldonkey-0.003.ebuild,v 1.5 2007/07/22 04:50:48 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmmldonkey/wmmldonkey-0.003.ebuild,v 1.6 2009/01/19 14:56:59 s4t4n Exp $
DESCRIPTION="wmmsg is a dockapp to show the up and downloadrate from your mldonkey"
HOMEPAGE="http://dockapps.org/file.php/id/174"
@@ -17,9 +17,20 @@ RDEPEND="x11-libs/libXext
DEPEND="${RDEPEND}
net-p2p/mldonkey"
+src_unpack()
+{
+ unpack ${A}
+
+ sed -e 's:gcc:gcc ${CFLAGS}:' \
+ -e 's:gui_protocol.o endianess.o::' \
+ -e 's:main.c -o wmmldonkey:main.c gui_protocol.o endianess.o -o wmmldonkey:' \
+ -e 's:-lXpm -lXext:-lX11 -lXpm -lXext:' \
+ -i "${S}/Makefile"
+}
+
src_install()
{
- dodoc CHANGELOG LICENSE README
+ dodoc CHANGELOG README
exeinto /usr/bin
doexe wmmldonkey
}