summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Alexander <wired@gentoo.org>2010-02-21 01:20:03 +0000
committerAlex Alexander <wired@gentoo.org>2010-02-21 01:20:03 +0000
commit8cc1b46a35488cdf65648ad2f9e850bf7047b0f9 (patch)
tree5c23a9f7887ff13cc3c5d1cac5dda2a42af22967 /www-client/uget
parentTransfer prefix keywords (no other changes) (diff)
downloadgentoo-2-8cc1b46a35488cdf65648ad2f9e850bf7047b0f9.tar.gz
gentoo-2-8cc1b46a35488cdf65648ad2f9e850bf7047b0f9.tar.bz2
gentoo-2-8cc1b46a35488cdf65648ad2f9e850bf7047b0f9.zip
[www-client/uget] fixed --as-needed issue, bug #299077
(Portage version: 2.2_rc63/cvs/Linux x86_64)
Diffstat (limited to 'www-client/uget')
-rw-r--r--www-client/uget/ChangeLog6
-rw-r--r--www-client/uget/files/uget-as-needed.patch24
-rw-r--r--www-client/uget/uget-1.5.0.1-r1.ebuild9
3 files changed, 37 insertions, 2 deletions
diff --git a/www-client/uget/ChangeLog b/www-client/uget/ChangeLog
index e69b4eb40882..68fe996b0613 100644
--- a/www-client/uget/ChangeLog
+++ b/www-client/uget/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-client/uget
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/uget/ChangeLog,v 1.5 2010/01/08 15:31:21 wired Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/uget/ChangeLog,v 1.6 2010/02/21 01:20:02 wired Exp $
+
+ 21 Feb 2010; Alex Alexander <wired@gentoo.org> uget-1.5.0.1-r1.ebuild,
+ +files/uget-as-needed.patch:
+ fixed --as-needed issue, bug #299077
08 Jan 2010; Alex Alexander <wired@gentoo.org> -uget-1.5.0.ebuild,
-uget-1.5.0.1.ebuild, uget-9999.ebuild:
diff --git a/www-client/uget/files/uget-as-needed.patch b/www-client/uget/files/uget-as-needed.patch
new file mode 100644
index 000000000000..75877ee7e879
--- /dev/null
+++ b/www-client/uget/files/uget-as-needed.patch
@@ -0,0 +1,24 @@
+--- uget-1.5.0.orig/uget-gtk/Makefile.am 2009-08-01 06:44:50.000000000 +0200
++++ uget-1.5.0/uget-gtk/Makefile.am 2009-12-31 17:21:42.156730588 +0100
+@@ -3,7 +3,8 @@
+ # set the include path found by configure
+ uget_gtk_CPPFLAGS = -DDATADIR='"$(datadir)"' -I$(top_srcdir)/include -I$(top_srcdir)/uget-gtk
+ uget_gtk_CFLAGS = @LFS_CFLAGS@ @GTK_CFLAGS@ @GIO_CFLAGS@ @GTHREAD_CFLAGS@ @CURL_CFLAGS@ @LIBNOTIFY_CFLAGS@ @GSTREAMER_CFLAGS@
+-uget_gtk_LDFLAGS = @LFS_LDFLAGS@ @GTK_LIBS@ @GIO_LIBS@ @GTHREAD_LIBS@ @CURL_LIBS@ @LIBNOTIFY_LIBS@ @GSTREAMER_LIBS@
++uget_gtk_LDFLAGS = @LFS_LDFLAGS@
++LIBS = @LIBS@ @GTK_LIBS@ @GIO_LIBS@ @GTHREAD_LIBS@ @CURL_LIBS@ @LIBNOTIFY_LIBS@ @GSTREAMER_LIBS@
+ uget_gtk_LDADD = $(top_builddir)/src/libuglib.a
+
+ uget_gtk_SOURCES = \
+--- uget-1.5.0.orig/tests/Makefile.am 2009-06-20 16:47:22.000000000 +0200
++++ uget-1.5.0/tests/Makefile.am 2009-12-31 17:29:35.142778631 +0100
+@@ -4,7 +4,8 @@
+ # set the include path found by configure
+ AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/tests
+ AM_CFLAGS = @LFS_CFLAGS@ @GLIB_CFLAGS@ @GIO_CFLAGS@ @GTHREAD_CFLAGS@ @GMODULE_CFLAGS@ @CURL_CFLAGS@
+-AM_LDFLAGS = @LFS_LDFLAGS@ @GLIB_LIBS@ @GIO_LIBS@ @GTHREAD_LIBS@ @GMODULE_LIBS@ @CURL_LIBS@
++AM_LDFLAGS = @LFS_LDFLAGS@
++LIBS = @LIBS@ @GLIB_LIBS@ @GIO_LIBS@ @GTHREAD_LIBS@ @GMODULE_LIBS@ @CURL_LIBS@
+
+ test_download_LDADD = $(top_builddir)/src/libuglib.a
+ test_download_SOURCES = test_download.c
diff --git a/www-client/uget/uget-1.5.0.1-r1.ebuild b/www-client/uget/uget-1.5.0.1-r1.ebuild
index 35d09b4cd721..c98e4aeb72af 100644
--- a/www-client/uget/uget-1.5.0.1-r1.ebuild
+++ b/www-client/uget/uget-1.5.0.1-r1.ebuild
@@ -1,9 +1,11 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/uget/uget-1.5.0.1-r1.ebuild,v 1.1 2010/01/08 15:23:05 wired Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/uget/uget-1.5.0.1-r1.ebuild,v 1.2 2010/02/21 01:20:02 wired Exp $
EAPI="2"
+inherit autotools base
+
DESCRIPTION="Download manager using gtk+ and libcurl"
HOMEPAGE="http://urlget.sourceforge.net/"
SRC_URI="mirror://sourceforge/urlget/${P}.tar.gz"
@@ -25,6 +27,11 @@ DEPEND="${RDEPEND}
dev-util/pkgconfig
sys-devel/gettext"
+src_prepare() {
+ epatch "${FILESDIR}"/"${PN}"-as-needed.patch
+ eautoreconf
+}
+
src_configure() {
econf $(use_enable nls) \
$(use_enable gstreamer) \