diff options
author | Jeroen Roovers <jer@gentoo.org> | 2009-05-26 08:17:56 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2009-05-26 08:17:56 +0000 |
commit | 2223b830dc0c32880a4055dddca0cfe8f9f04fbd (patch) | |
tree | 86c0b26314c81452ebfe3cb3c19c52780256154c /dev-libs | |
parent | Version bump. (diff) | |
download | gentoo-2-2223b830dc0c32880a4055dddca0cfe8f9f04fbd.tar.gz gentoo-2-2223b830dc0c32880a4055dddca0cfe8f9f04fbd.tar.bz2 gentoo-2-2223b830dc0c32880a4055dddca0cfe8f9f04fbd.zip |
Respect LDFLAGS (bug #262960). Thanks to Davide Pesavento for reporting.
(Portage version: 2.2_rc33/cvs/Linux i686)
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libnl/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/libnl/files/libnl-1.1-flags.patch | 11 | ||||
-rw-r--r-- | dev-libs/libnl/libnl-1.1-r2.ebuild | 27 |
3 files changed, 45 insertions, 1 deletions
diff --git a/dev-libs/libnl/ChangeLog b/dev-libs/libnl/ChangeLog index e70121820d75..9a4511231fe4 100644 --- a/dev-libs/libnl/ChangeLog +++ b/dev-libs/libnl/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/libnl # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v 1.34 2009/05/17 16:45:42 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v 1.35 2009/05/26 08:17:55 jer Exp $ + +*libnl-1.1-r2 (26 May 2009) + + 26 May 2009; Jeroen Roovers <jer@gentoo.org> +libnl-1.1-r2.ebuild, + +files/libnl-1.1-flags.patch: + Respect LDFLAGS (bug #262960). Thanks to Davide Pesavento for reporting. 17 May 2009; Raúl Porcel <armin76@gentoo.org> libnl-1.1-r1.ebuild: Add ~sh diff --git a/dev-libs/libnl/files/libnl-1.1-flags.patch b/dev-libs/libnl/files/libnl-1.1-flags.patch new file mode 100644 index 000000000000..bb09b362660f --- /dev/null +++ b/dev-libs/libnl/files/libnl-1.1-flags.patch @@ -0,0 +1,11 @@ +--- libnl-1.1/lib/Makefile.orig 2008-01-14 16:48:45.000000000 +0100 ++++ libnl-1.1/lib/Makefile 2009-05-26 09:47:42.000000000 +0200 +@@ -48,7 +48,7 @@ + + $(OUT_SLIB): ../Makefile.opts $(OBJ) + @echo " LD $(OUT_SLIB)"; \ +- $(CC) -shared -Wl,-soname,libnl.so.1 -o $(OUT_SLIB) $(OBJ) $(LIBNL_LIB) -lc ++ $(CC) $(CFLAGS) $(LDFLAGS) -shared -Wl,-soname,libnl.so.1 -o $(OUT_SLIB) $(OBJ) $(LIBNL_LIB) -lc + @echo " LN $(OUT_SLIB) $(LN1_SLIB)"; \ + rm -f $(LN1_SLIB) ; $(LN) -s $(OUT_SLIB) $(LN1_SLIB) + @echo " LN $(LN1_SLIB) $(LN_SLIB)"; \ diff --git a/dev-libs/libnl/libnl-1.1-r2.ebuild b/dev-libs/libnl/libnl-1.1-r2.ebuild new file mode 100644 index 000000000000..cf2a1ae54b1c --- /dev/null +++ b/dev-libs/libnl/libnl-1.1-r2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-1.1-r2.ebuild,v 1.1 2009/05/26 08:17:55 jer Exp $ + +EAPI="2" + +inherit eutils multilib linux-info + +DESCRIPTION="A library for applications dealing with netlink socket" +HOMEPAGE="http://people.suug.ch/~tgr/libnl/" +SRC_URI="http://people.suug.ch/~tgr/libnl/files/${P}.tar.gz" +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="" + +src_prepare() { + epatch "${FILESDIR}"/${P}-vlan-header.patch + epatch "${FILESDIR}"/${P}-minor-leaks.patch + epatch "${FILESDIR}"/${P}-glibc-2.8-ULONG_MAX.patch + epatch "${FILESDIR}"/${P}-flags.patch +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc ChangeLog +} |